package gui;

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Rectangle;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;

import javax.imageio.ImageIO;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
import javax.swing.JScrollPane;
import javax.swing.JTabbedPane;
import javax.swing.JTable;
import javax.swing.JTextArea;
import javax.swing.border.Border;
import javax.swing.table.DefaultTableModel;

import client.Client;
import client.Item;
import client.catalog;

public class CustomerCatalog extends JPanel{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Vector<Integer> ItemsToPurchase = new Vector<Integer>();
	
	private JButton backButton = null;
	JTabbedPane jTabbedPane1 = null;
	private JPanel salesPanel = null;
	private JPanel flowersPanel = null;
	private JPanel treePanel = null;
	private JPanel plantPanel = null;
	private JPanel item1 = null;
	private JPanel item2 = null;
	private JPanel item3 = null;
	private JPanel item4 = null;  //  @jve:decl-index=0:visual-constraint="871,319"
	private JLabel plantLabel1 = null;
	private JLabel plantLabel2 = null;
	private JLabel plantLabel3 = null;
	private JLabel plantLabel4 = null;
	private List<Item> items;
	/** list of flowers items **/
	private List<Item> flw = new ArrayList<Item>();  //  @jve:decl-index=0:
	/** list of tree items **/
	private List<Item> tr = new ArrayList<Item>();  //  @jve:decl-index=0:
	/** list of plant items **/
	private List<Item> plt = new ArrayList<Item>();  //  @jve:decl-index=0:
	/** list of vases items **/
	private List<Item> va = new ArrayList<Item>();  //  @jve:decl-index=0:
	/** list of  bridal bouquet items **/
	private List<Item> br = new ArrayList<Item>();
	/** list of the items that on sales **/
	private List<Item> sl = new ArrayList<Item>();
	/** list of the items in the cart*/
	List<Item> cart = new ArrayList<Item>();//  @jve:decl-index=0:
	public static List<Item> order = new ArrayList<Item>();
	private JButton plantNextButton = null;
	private JLabel namePlant1 = null;
	private JLabel pricePlant1 = null;
	private JLabel pricePlant11 = null;
	private JLabel namePlant2 = null;
	private JLabel pricePlant2 = null;
	private JLabel pricePlant22 = null;
	private JButton cartPlantButton2 = null;
	private JButton infoPlantButton2 = null;
	private JButton infoPlantButton1 = null;
	private JButton cartPlantButton1 = null;
	private JLabel namePlant3 = null;
	private JLabel pricePlant3 = null;
	private JLabel pricePlant33 = null;
	private JButton infoPlantButton3 = null;
	private JButton cartPlantButton3 = null;
	private JLabel namePlant4 = null;
	private JLabel pricePlant4 = null;
	private JLabel pricePlant44 = null;
	private JButton infoPlantButton4 = null;
	private JButton cartPlantButton = null;
	private JPanel itemSalePanel1 = null;
	private JPanel itemSalePanel2 = null;
	private JPanel itemSalePanel3 = null;
	private JPanel itemSalePanel4 = null;
	private JLabel picSale1 = null;
	private JLabel picSale2 = null;
	private JLabel picSale3 = null;
	private JLabel picSale4 = null;
	private JLabel saleName4 = null;
	private JLabel saleName3 = null;
	private JLabel saleName2 = null;
	private JLabel saleName1 = null;
	private JLabel salePrice4 = null;
	private JLabel salePrice44 = null;
	private JLabel salePrice3 = null;
	private JLabel salePrice33 = null;
	private JLabel salePrice2 = null;
	private JLabel salePrice22 = null;
	private JLabel salePrice1 = null;
	private JLabel salePrice11 = null;
	private JButton saleInfoButton4 = null;
	private JButton saleInfoButton3 = null;
	private JButton saleInfoButton2 = null;
	private JButton saleInfoButton1 = null;
	private JButton saleCartButton4 = null;
	private JButton saleCartButton3 = null;
	private JButton saleCartButton2 = null;
	private JButton saleCartButton1 = null;
	private JPanel treeItemPanel1 = null;
	private JPanel treeItemPanel2 = null;
	private JPanel treeItemPanel3 = null;
	private JLabel treePic1 = null;
	private JLabel treePic2 = null;
	private JLabel treePic3 = null;
	private JLabel treePrice11 = null;
	private JLabel treePrice1 = null;
	private JLabel treeName1 = null;
	private JLabel treePrice22 = null;
	private JLabel treePrice2 = null;
	private JLabel treeName2 = null;
	private JLabel treePrice33 = null;
	private JLabel treePrice3 = null;
	private JLabel treeName3 = null;
	private JLabel priceBefore1 = null;
	private JLabel priceAfter1 = null;
	private JLabel priceAfter2 = null;
	private JLabel priceAfter3 = null;
	private JLabel priceAfter4 = null;
	private JLabel priceBefore2 = null;
	private JLabel priceBefore3 = null;
	private JLabel priceBefore4 = null;
	private JButton treeCartButton1 = null;
	private JButton treeCartButton2 = null;
	private JButton treeCartButton3 = null;
	private JButton treeInfoButton1 = null;
	private JButton treeInfoButton2 = null;
	private JButton treeInfoButton3 = null;
	private JPanel flowerItemPanel1 = null;
	private JPanel flowerItemPanel2 = null;
	private JPanel flowerItemPanel3 = null;
	private JPanel flowerItemPanel4 = null;
	/**plant index**/
	private static int x1; 
	/**tree index**/
	private static int x2;
	/**flower index**/
	private static int x3;
	/**sale index**/
	private static int x4;
	/**vase index**/
	private static int x5;
	/**bridal index**/
	private static int x6;
	Border borderColor = BorderFactory.createLineBorder(Color.BLACK);
	private Font font = new Font("font",Font.BOLD,15);  //  @jve:decl-index=0:
	private JPanel vasePanel = null;
	private JPanel vaseItemPanel1 = null;
	private JPanel vaseItemPanel2 = null;
	private JPanel vaseItemPanel3 = null;
	private JPanel vaseItemPanel4 = null;
	private JLabel vasePic1 = null;
	private JLabel vasePic2 = null;
	private JLabel vasePic3 = null;
	private JLabel vasePic4 = null;
	private JLabel vaseName1 = null;
	private JLabel vaseName2 = null;
	private JLabel vaseName3 = null;
	private JLabel vaseName4 = null;
	private JLabel vasePrice1 = null;
	private JLabel vasePrice2 = null;
	private JLabel vasePrice3 = null;
	private JLabel vasePrice4 = null;
	private JLabel vasePrice11 = null;
	private JLabel vasePrice22 = null;
	private JLabel vasePrice33 = null;
	private JLabel vasePrice44 = null;
	private JButton vaseCartButton1 = null;
	private JButton vaseCartButton2 = null;
	private JButton vaseCartButton3 = null;
	private JButton vaseCartButton4 = null;
	private JButton vaseInfoButton1 = null;
	private JButton vaseInfoButton2 = null;
	private JButton vaseInfoButton3 = null;
	private JButton vaseInfoButton4 = null;
	private JButton vaseNextButton = null;
	private JPanel treeItemPanel4 = null;
	private JLabel treePic4 = null;
	private JLabel treeName4 = null;
	private JLabel treePrice4 = null;
	private JLabel treePrice44 = null;
	private JButton treeCartButton4 = null;
	private JButton treeInfoButton4 = null;
	private JLabel flowerPic1 = null;
	private JLabel flowerName1 = null;
	private JLabel flowerPrice1 = null;
	private JLabel flowerPrice11 = null;
	private JButton flowerCartButton1 = null;
	private JButton flowerInfoButton1 = null;
	private JLabel flowerPic2 = null;
	private JLabel flowerPrice22 = null;
	private JLabel flowerPrice2 = null;
	private JLabel flowerName2 = null;
	private JLabel flowerPic3 = null;
	private JLabel flowerPrice33 = null;
	private JLabel flowerPrice3 = null;
	private JLabel flowerName3 = null;
	private JLabel flowerPic4 = null;
	private JLabel flowerPrice44 = null;
	private JLabel flowerPrice4 = null;
	private JLabel flowerName4 = null;
	private JButton flowerInfoButton4 = null;
	private JButton flowerCartButton4 = null;
	private JButton flowerInfoButton3 = null;
	private JButton flowerCartButton3 = null;
	private JButton flowerCartButton2 = null;
	private JButton flowerInfoButton2 = null;
	/** flag for next or prev button**/
	private boolean treeFlag = false;
	/** flag for next or prev button**/
	private boolean flowerFlag = false;
	/** flag for next or prev button**/
	private boolean saleFlag = false;
	/** flag for next or prev button**/
	private boolean vaseFlag = false;
	/** flag for next or prev button**/
	private boolean plantFlag = false;
	/** flag for next or prev button**/
	private boolean bridalFlag = false;
	private JButton vasePrevButton = null;
	private JButton plantPrevButton = null;
	private JButton treeNextButton = null;
	private JButton treePrevButton = null;
	private JButton flowerNextButton = null;
	private JPanel bridalPanel = null;
	private JPanel bridalItemPanel1 = null;
	private JPanel bridalItemPanel2 = null;
	private JPanel bridalItemPanel3 = null;
	private JPanel bridalItemPanel4 = null;
	private JLabel bridalPrice11 = null;
	private JLabel bridalPrice1 = null;
	private JLabel bridalPic1 = null;
	private JLabel bridalName1 = null;
	private JLabel bridalPrice22 = null;
	private JLabel bridalPrice2 = null;
	private JLabel bridalName2 = null;
	private JLabel bridalPic2 = null;
	private JLabel bridalPrice33 = null;
	private JLabel bridalPrice3 = null;
	private JLabel bridalName3 = null;
	private JLabel bridalPic3 = null;
	private JLabel bridalPrice44 = null;
	private JLabel bridalPrice4 = null;
	private JLabel bridalName4 = null;
	private JLabel bridalPic4 = null;
	private JButton bridalInfoButton1 = null;
	private JButton bridalInfoButton2 = null;
	private JButton bridalInfoButton3 = null;
	private JButton bridalInfoButton4 = null;
	private JButton bridalCartButton1 = null;
	private JButton bridalCartButton2 = null;
	private JButton bridalCartButton3 = null;
	private JButton bridalCartButton4 = null;
	private JButton bridalNextButton = null;
	private JButton bridalPrevButton = null;
	private JButton flowerPrevButton = null;
	private JButton saleNextButton = null;
	private JButton salePrevButton = null;
	private Vector<String> st = new Vector<String>();  //  @jve:decl-index=0:
	private JPanel jPanel = null;
	private JButton infoButton = null;
	private JLabel pictureInfo = null;
	private DefaultTableModel model1 = new DefaultTableModel();
	private DefaultTableModel model2 = new DefaultTableModel();
	String[] valuse = new String []{"ITEM ID","NAME","ABOUT THE ITEM","NUMBER ON STOCK","PRICE"};
	private JScrollPane jScrollPane = null;
	private JTable jTable = null;
	private JLabel Details = null;
	private JLabel backGround;
	private JTextArea jTextArea = null;
	JPanel cartPanel = null;
	private JButton cartButton = null;
	JButton backMainButton = null;
	private JButton getOrderButton = null;
	private JButton backCatalogButton = null;
	private ImageIcon next = null;
	private ImageIcon back = null;
	private JButton deleteButton = null;
	private JLabel logo = null;

	private JButton dicreaseButton = null;

	private JButton increaseButton = null;

	private JLabel jLabel = null;

	private JTextArea sumTextArea = null;

	private JLabel progressLabel = null;
	/** the total pay for order*/
	public static int sum1;

	private JScrollPane orderScrollPane = null;

	private JTable orderTable = null;

	/**
	 * @param c 
	 * 
	 */
	public CustomerCatalog() {
		super();
		getItems();
		setPicture();
		initialize();
		
	}
	
	private void initialize() {

		logo = new JLabel();
		logo.setBounds(new Rectangle(178, 6, 596, 112));
		
		this.setSize(1000, 733);
		this.setLayout(null);
		this.add(getJTabbedPane1(), null);
		this.add(getJPanel(), null);
		this.add(getCartPanel(), null);
		this.add(getCartButton(), null);
		this.add(getBackMainButton(), null);
		this.add(getBackButton(), null);
		this.add(logo, null);
	}
	
	public void paintComponent(Graphics g) {
		super.paintComponent(g);
		try {
			g.drawImage(ImageIO.read(new File("catalog4.jpg")), 0, 0, null);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	private void setPicture(){
		try {
			next = new ImageIcon(ImageIO.read(new File("NextArrow.jpg")).getScaledInstance(70, 25, Image.SCALE_DEFAULT));
			back = new ImageIcon(ImageIO.read(new File("BackArrow.jpg")).getScaledInstance(70, 25, Image.SCALE_DEFAULT));
			updateUI();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	public void getItems(){
		catalog cat = new catalog();
		List<Item> plant = new ArrayList<Item>();
		List<Item> flower = new ArrayList<Item>();
		List<Item> tree = new ArrayList<Item>();
		List<Item> vase = new ArrayList<Item>();
		List<Item> bride = new ArrayList<Item>();
		List<Item> sale = new ArrayList<Item>();
		Object b = cat.itemDisply();
		items =  (List<Item>)b;
		for (int i=0;i<items.size();i++){
			if(items.get(i).getType().equals("flower"))
				flower.add(items.get(i));
			if(items.get(i).getType().equals("tree"))
				tree.add(items.get(i));
			if(items.get(i).getType().equals("plant"))
				plant.add(items.get(i));
			if(items.get(i).getType().equals("vase"))
				vase.add(items.get(i));
			if(items.get(i).getType().equals("bridal bouquet"))
				bride.add(items.get(i));
			if(items.get(i).getSaleFlag())
				sale.add(items.get(i));
			cart.add(items.get(i));
			if (cart.get(i).getSaleFlag())
				cart.get(i).setPrice(cart.get(i).getSale());
			cart.get(i).setQuntity(0);
		}
		this.flw = flower;
		this.tr = tree;
		this.plt = plant;
		this.va = vase;
		this.br = bride;
		this.sl = sale;	
	}

	public void employeeDisplay(){
		displaySale();
		displayFlower();
		displayTree();
		displayPlant();
		displayVase();
		displayBridal();
	}
	
	JButton getBackButton() {
		if (backButton == null) {
			backButton = new JButton();
			backButton.setText("BACK EMPLOYEE CATALOG");
			backButton.setFont(new Font("1",Font.BOLD,11));
			backButton.setBounds(new Rectangle(471, 652, 185, 35));
			if (MainPanel.Userinfo[2].equals("1"))
				backButton.setVisible(false);
		}
		return backButton;
	}


	/**
	 * This method initializes jTabbedPane1	
	 * 	
	 * @return javax.swing.JTabbedPane	
	 */
	private JTabbedPane getJTabbedPane1() {
		if (jTabbedPane1 == null) {
			jTabbedPane1 = new JTabbedPane();
			jTabbedPane1.setBounds(new Rectangle(5, 135, 980, 516));
			jTabbedPane1.addTab("SALES", null, getSalesPanel(), null);
			jTabbedPane1.addTab("FLOWERS", null, getFlowersPanel(), null);
			jTabbedPane1.addTab("TREE", null, getTreePanel(), null);
			jTabbedPane1.addTab("PLANT", null, getPlantPanel(), null);
			jTabbedPane1.addTab("VASES",null, getVasePanel(), null);
			jTabbedPane1.addTab("BRIDAL BOUQUET", null, getBridalPanel(), null);
			jTabbedPane1.setOpaque(false);
			updateUI();
		}
		return jTabbedPane1;
	}

	/**
	 * This method initializes jPanel	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getSalesPanel() {
		if (salesPanel == null) {
			salesPanel = new JPanel();
			salesPanel.setLayout(null);
			salesPanel.add(getItemSalePanel1(), null);
			salesPanel.add(getItemSalePanel2(), null);
			salesPanel.add(getItemSalePanel3(), null);
			salesPanel.add(getItemSalePanel4(), null);
			salesPanel.setOpaque(false);
			salesPanel.add(getSaleNextButton(), null);
			salesPanel.add(getSalePrevButton(), null);
			displaySale();
			updateUI();
		}
		return salesPanel;
	}

	/**
	 * This method initializes itemSalePanel1	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	
	private JPanel getItemSalePanel1() {
		if (itemSalePanel1 == null) {
			priceAfter1 = new JLabel();
			priceAfter1.setBounds(new Rectangle(34, 314, 56, 23));
			priceBefore1 = new JLabel();
			priceBefore1.setBounds(new Rectangle(128, 309, 53, 27));
			salePrice11 = new JLabel();
			salePrice11.setBounds(new Rectangle(122, 267, 68, 26));
			salePrice1 = new JLabel();
			salePrice1.setBounds(new Rectangle(39, 262, 63, 36));
			salePrice11.setText("BEFORE");
			salePrice11.setHorizontalTextPosition(JLabel.CENTER);
			salePrice1.setText("AFTER");
			salePrice1.setHorizontalTextPosition(JLabel.CENTER);
			saleName1 = new JLabel();
			saleName1.setBounds(new Rectangle(37, 208, 150, 34));
			picSale1 = new JLabel();
			picSale1.setBounds(new Rectangle(30, 18,200, 158));
			itemSalePanel1 = new JPanel();
			itemSalePanel1.setLayout(null);
			itemSalePanel1.setBounds(new Rectangle(20, 10, 220, 400));
			itemSalePanel1.add(picSale1, null);
			itemSalePanel1.add(saleName1, null);
			itemSalePanel1.add(salePrice1, null);
			itemSalePanel1.add(salePrice11, null);
			itemSalePanel1.add(getSaleInfoButton1(), null);
			itemSalePanel1.add(getSaleCartButton1(), null);
			itemSalePanel1.add(priceBefore1, null);
			itemSalePanel1.add(priceAfter1, null);
			itemSalePanel1.setBackground(Color.WHITE);
			itemSalePanel1.setBorder(borderColor);
		}
		return itemSalePanel1;
	}

	/**
	 * This method initializes itemSalePanel2	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getItemSalePanel2() {
		if (itemSalePanel2 == null) {
			priceBefore2 = new JLabel();
			priceBefore2.setBounds(new Rectangle(126, 313, 55, 26));
			priceAfter2 = new JLabel();
			priceAfter2.setBounds(new Rectangle(33, 314, 59, 18));
			salePrice22 = new JLabel();
			salePrice22.setBounds(new Rectangle(122, 267, 68, 26));
			salePrice2 = new JLabel();
			salePrice2.setBounds(new Rectangle(39, 262, 63, 36));
			salePrice22.setText("BEFORE");
			salePrice22.setHorizontalTextPosition(JLabel.CENTER);
			salePrice2.setText("AFTER");
			salePrice2.setHorizontalTextPosition(JLabel.CENTER);
			saleName2 = new JLabel();
			saleName2.setBounds(new Rectangle(37, 208, 150, 34));
			picSale2 = new JLabel();
			picSale2.setBounds(new Rectangle(30,18,200,158));
			itemSalePanel2 = new JPanel();
			itemSalePanel2.setLayout(null);
			itemSalePanel2.setBounds(new Rectangle(260, 10, 220, 400));
			itemSalePanel2.add(picSale2, null);
			itemSalePanel2.add(saleName2, null);
			itemSalePanel2.add(salePrice2, null);
			itemSalePanel2.add(salePrice22, null);
			itemSalePanel2.add(getSaleInfoButton2(), null);
			itemSalePanel2.add(getSaleCartButton2(), null);
			itemSalePanel2.add(priceAfter2, null);
			itemSalePanel2.add(priceBefore2, null);
			itemSalePanel2.setBackground(Color.WHITE);
			itemSalePanel2.setBorder(borderColor);
		}
		return itemSalePanel2;
	}

	/**
	 * This method initializes itemSalePanel3	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getItemSalePanel3() {
		if (itemSalePanel3 == null) {
			priceBefore3 = new JLabel();
			priceBefore3.setBounds(new Rectangle(126, 313, 66, 22));
			priceAfter3 = new JLabel();
			priceAfter3.setBounds(new Rectangle(31, 310, 60, 28));
			salePrice33 = new JLabel();
			salePrice33.setBounds(new Rectangle(122, 267, 68, 26));
			salePrice3 = new JLabel();
			salePrice3.setBounds(new Rectangle(39, 262, 63, 36));
			salePrice33.setText("BEFORE");
			salePrice33.setHorizontalTextPosition(JLabel.CENTER);
			salePrice3.setText("AFTER");
			salePrice3.setHorizontalTextPosition(JLabel.CENTER);
			saleName3 = new JLabel();
			saleName3.setBounds(new Rectangle(37, 208, 150, 34));
			picSale3 = new JLabel();
			picSale3.setBounds(new Rectangle(30, 18,200, 158));
			itemSalePanel3 = new JPanel();
			itemSalePanel3.setLayout(null);
			itemSalePanel3.setBounds(new Rectangle(500, 10, 220, 400));
			itemSalePanel3.add(picSale3, null);
			itemSalePanel3.add(saleName3, null);
			itemSalePanel3.add(salePrice3, null);
			itemSalePanel3.add(salePrice33, null);
			itemSalePanel3.add(getSaleInfoButton3(), null);
			itemSalePanel3.add(getSaleCartButton3(), null);
			itemSalePanel3.add(priceAfter3, null);
			itemSalePanel3.add(priceBefore3, null);
			itemSalePanel3.setBackground(Color.WHITE);
			itemSalePanel3.setBorder(borderColor);
		}
		return itemSalePanel3;
	}

	/**
	 * This method initializes itemSalePanel4	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getItemSalePanel4() {
		if (itemSalePanel4 == null) {
			priceBefore4 = new JLabel();
			priceBefore4.setBounds(new Rectangle(132, 313, 51, 24));
			priceAfter4 = new JLabel();
			priceAfter4.setBounds(new Rectangle(30, 317, 56, 20));
			salePrice44 = new JLabel();
			salePrice44.setBounds(new Rectangle(122, 267, 68, 26));
			salePrice4 = new JLabel();
			salePrice4.setBounds(new Rectangle(39, 262, 63, 36));
			salePrice44.setText("BEFORE");
			salePrice44.setHorizontalTextPosition(JLabel.CENTER);
			salePrice4.setText("AFTER");
			salePrice4.setHorizontalTextPosition(JLabel.CENTER);
			saleName4 = new JLabel();
			saleName4.setBounds(new Rectangle(37, 208, 150, 34));
			picSale4 = new JLabel();
			picSale4.setBounds(new Rectangle(30, 18,200, 158));
			itemSalePanel4 = new JPanel();
			itemSalePanel4.setLayout(null);
			itemSalePanel4.setBounds(new Rectangle(740, 10, 220, 400));
			itemSalePanel4.add(picSale4, null);
			itemSalePanel4.add(saleName4, null);
			itemSalePanel4.add(salePrice4, null);
			itemSalePanel4.add(salePrice44, null);
			itemSalePanel4.add(getSaleInfoButton4(), null);
			itemSalePanel4.add(getSaleCartButton4(), null);
			itemSalePanel4.add(priceAfter4, null);
			itemSalePanel4.add(priceBefore4, null);
			itemSalePanel4.setBackground(Color.WHITE);
			itemSalePanel4.setBorder(borderColor);
		}
		return itemSalePanel4;
	}

	/**
	 * This method initializes jPanel1	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getFlowersPanel() {
		if (flowersPanel == null) {
			flowersPanel = new JPanel();
			flowersPanel.setLayout(null);
			flowersPanel.add(getFlowerItemPanel1(), null);
			flowersPanel.add(getFlowerItemPanel2(), null);
			flowersPanel.add(getFlowerItemPanel3(), null);
			flowersPanel.add(getFlowerItemPanel4(), null);
			flowersPanel.setOpaque(false);
			flowersPanel.add(getFlowerNextButton(), null);
			flowersPanel.add(getFlowerPrevButton(), null);
			displayFlower();
		}
		return flowersPanel;
	}
	
	/**
	 * This method initializes flowerItemPanel1	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getFlowerItemPanel1() {
		if (flowerItemPanel1 == null) {
			flowerPic1 = new JLabel();
			flowerPic1.setBounds(new Rectangle(30, 18, 200, 158));
			flowerPrice11 = new JLabel();
			flowerPrice11.setBounds(new Rectangle(122, 267, 68, 26));
			flowerPrice1 = new JLabel();
			flowerPrice1.setBounds(new Rectangle(39, 262, 63, 36));
			flowerPrice1.setText("PRICE:");
			flowerName1 = new JLabel();
			flowerName1.setBounds(new Rectangle(36, 192, 150, 34));
			flowerItemPanel1 = new JPanel();
			flowerItemPanel1.setLayout(null);
			flowerItemPanel1.setBounds(new Rectangle(20, 10, 220, 400));
			flowerItemPanel1.add(flowerPic1, null);
			flowerItemPanel1.add(flowerPrice11, null);
			flowerItemPanel1.add(flowerPrice1, null);
			flowerItemPanel1.add(flowerName1, null);
			flowerItemPanel1.add(getFlowerCartButton1(), null);
			flowerItemPanel1.add(getFlowerInfoButton1(), null);
			flowerItemPanel1.setBackground(Color.WHITE);
			flowerItemPanel1.setBorder(borderColor);
		}
		return flowerItemPanel1;
	}

	/**
	 * This method initializes flowerItemPanel2	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getFlowerItemPanel2() {
		if (flowerItemPanel2 == null) {
			flowerPic2 = new JLabel();
			flowerPic2.setBounds(new Rectangle(30, 18, 200, 158));
			flowerPrice22 = new JLabel();
			flowerPrice22.setBounds(new Rectangle(122, 267, 68, 26));
			flowerPrice2 = new JLabel();
			flowerPrice2.setBounds(new Rectangle(39, 262, 63, 36));
			flowerPrice2.setText("PRICE:");
			flowerName2 = new JLabel();
			flowerName2.setBounds(new Rectangle(36, 192, 150, 34));
			flowerItemPanel2 = new JPanel();
			flowerItemPanel2.setLayout(null);
			flowerItemPanel2.setBounds(new Rectangle(260, 10, 220, 400));
			flowerItemPanel2.add(flowerPic2, null);
			flowerItemPanel2.add(flowerPrice22, null);
			flowerItemPanel2.add(flowerPrice2, null);
			flowerItemPanel2.add(flowerName2, null);
			flowerItemPanel2.add(getFlowerCartButton2(), null);
			flowerItemPanel2.add(getFlowerInfoButton2(), null);
			flowerItemPanel2.setBackground(Color.WHITE);
			flowerItemPanel2.setBorder(borderColor);
		}
		return flowerItemPanel2;
	}

	/**
	 * This method initializes flowerItemPanel3	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getFlowerItemPanel3() {
		if (flowerItemPanel3 == null) {
			flowerPic3 = new JLabel();
			flowerPic3.setBounds(new Rectangle(30, 18, 200, 158));
			flowerPrice33 = new JLabel();
			flowerPrice33.setBounds(new Rectangle(122, 267, 68, 26));
			flowerPrice3 = new JLabel();
			flowerPrice3.setBounds(new Rectangle(39, 262, 63, 36));
			flowerPrice3.setText("PRICE:");
			flowerName3 = new JLabel();
			flowerName3.setBounds(new Rectangle(36, 192, 150, 34));
			flowerItemPanel3 = new JPanel();
			flowerItemPanel3.setLayout(null);
			flowerItemPanel3.setBounds(new Rectangle(500, 10, 220, 400));
			flowerItemPanel3.add(flowerPic3, null);
			flowerItemPanel3.add(flowerPrice33, null);
			flowerItemPanel3.add(flowerPrice3, null);
			flowerItemPanel3.add(flowerName3, null);
			flowerItemPanel3.add(getFlowerCartButton3(), null);
			flowerItemPanel3.add(getFlowerInfoButton3(), null);
			flowerItemPanel3.setBackground(Color.WHITE);
			flowerItemPanel3.setBorder(borderColor);
		}
		return flowerItemPanel3;
	}

	/**
	 * This method initializes flowerItemPanel4	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getFlowerItemPanel4() {
		if (flowerItemPanel4 == null) {
			flowerPic4 = new JLabel();
			flowerPic4.setBounds(new Rectangle(30, 18, 200, 158));
			flowerPrice44 = new JLabel();
			flowerPrice44.setBounds(new Rectangle(122, 267, 68, 26));
			flowerPrice4 = new JLabel();
			flowerPrice4.setBounds(new Rectangle(39, 262, 63, 36));
			flowerPrice4.setText("PRICE:");
			flowerName4 = new JLabel();
			flowerName4.setBounds(new Rectangle(36, 192, 150, 34));
			flowerItemPanel4 = new JPanel();
			flowerItemPanel4.setLayout(null);
			flowerItemPanel4.setBounds(new Rectangle(740, 10, 220, 400));
			flowerItemPanel4.add(flowerPic4, null);
			flowerItemPanel4.add(flowerPrice44, null);
			flowerItemPanel4.add(flowerPrice4, null);
			flowerItemPanel4.add(flowerName4, null);
			flowerItemPanel4.add(getFlowerCartButton4(), null);
			flowerItemPanel4.add(getFlowerInfoButton4(), null);
			flowerItemPanel4.setBackground(Color.WHITE);
			flowerItemPanel4.setBorder(borderColor);

		}
		return flowerItemPanel4;
	}

	/**
	 * This method initializes jPanel21	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getTreePanel() {
		if (treePanel == null) {
			treePanel = new JPanel();
			treePanel.setLayout(null);
			treePanel.add(getTreeItemPanel1(), null);
			treePanel.add(getTreeItemPanel2(), null);
			treePanel.add(getTreeItemPanel3(), null);
			treePanel.setOpaque(false);
			treePanel.add(getTreeItemPanel4(), null);
			treePanel.add(getTreeNextButton(), null);
			treePanel.add(getTreePrevButton(), null);
			displayTree();
		}
		return treePanel;
	}

	
	/**
	 * This method initializes treeItemPanel1	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getTreeItemPanel1() {
		if (treeItemPanel1 == null) {
			treePic1 = new JLabel();
			treePic1.setBounds(new Rectangle(30, 18, 200, 158));
			treePrice11 = new JLabel();
			treePrice11.setBounds(new Rectangle(122, 267, 68, 26));
			treePrice1 = new JLabel();
			treePrice1.setBounds(new Rectangle(39, 262, 63, 36));
			treePrice1.setText("PRICE:");
			treeName1 = new JLabel();
			treeName1.setBounds(new Rectangle(39, 194, 150, 34));
			treeItemPanel1 = new JPanel();
			treeItemPanel1.setLayout(null);
			treeItemPanel1.setBounds(new Rectangle(20, 10, 220, 400));
			treeItemPanel1.add(treePic1, null);
			treeItemPanel1.add(treePrice11, null);
			treeItemPanel1.add(treePrice1, null);
			treeItemPanel1.add(treeName1, null);
			treeItemPanel1.add(getTreeCartButton1(), null);
			treeItemPanel1.add(getTreeInfoButton1(), null);
			treeItemPanel1.setBackground(Color.WHITE);
			treeItemPanel1.setBorder(borderColor);
		}
		return treeItemPanel1;
	}

	/**
	 * This method initializes treeItemPanel2	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getTreeItemPanel2() {
		if (treeItemPanel2 == null) {
			treePic2 = new JLabel();
			treePic2.setBounds(new Rectangle(30, 18, 200, 158));
			treePrice22 = new JLabel();
			treePrice22.setBounds(new Rectangle(122, 267, 68, 26));
			treePrice2 = new JLabel();
			treePrice2.setBounds(new Rectangle(39, 262, 63, 36));
			treePrice2.setText("PRICE:");
			treeName2 = new JLabel();
			treeName2.setBounds(new Rectangle(36, 192, 150, 34));
			treeItemPanel2 = new JPanel();
			treeItemPanel2.setLayout(null);
			treeItemPanel2.setBounds(new Rectangle(260, 10, 220, 400));
			treeItemPanel2.add(treePic2, null);
			treeItemPanel2.add(treePrice22, null);
			treeItemPanel2.add(treePrice2, null);
			treeItemPanel2.add(treeName2, null);
			treeItemPanel2.add(getTreeCartButton2(), null);
			treeItemPanel2.add(getTreeInfoButton2(), null);
			treeItemPanel2.setBackground(Color.WHITE);
			treeItemPanel2.setBorder(borderColor);	
		}
		return treeItemPanel2;
	}

	/**
	 * This method initializes treeItemPanel3	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getTreeItemPanel3() {
		if (treeItemPanel3 == null) {
			treePic3 = new JLabel();
			treePic3.setBounds(new Rectangle(30, 18, 200, 158));
			treePrice33 = new JLabel();
			treePrice33.setBounds(new Rectangle(122, 267, 68, 26));
			treePrice3 = new JLabel();
			treePrice3.setBounds(new Rectangle(39, 262, 63, 36));
			treePrice3.setText("PRICE:");
			treeName3 = new JLabel();
			treeName3.setBounds(new Rectangle(40, 188, 150, 34));
			treeItemPanel3 = new JPanel();
			treeItemPanel3.setLayout(null);
			treeItemPanel3.setBounds(new Rectangle(500, 10, 220, 400));
			treeItemPanel3.add(treePic3, null);
			treeItemPanel3.add(treePrice33, null);
			treeItemPanel3.add(treePrice3, null);
			treeItemPanel3.add(treeName3, null);
			treeItemPanel3.add(getTreeCartButton3(), null);
			treeItemPanel3.add(getTreeInfoButton3(), null);
			treeItemPanel3.setBackground(Color.WHITE);
			treeItemPanel3.setBorder(borderColor);
		}
		return treeItemPanel3;
	}
	
	
	private JPanel getTreeItemPanel4() {
		if (treeItemPanel4 == null) {
			treePrice44 = new JLabel();
			treePrice44.setBounds(new Rectangle(122, 267, 68, 26));
			treePrice4 = new JLabel();
			treePrice4.setBounds(new Rectangle(39, 262, 63, 36));
			treePrice4.setText("PRICE:");
			treeName4 = new JLabel();
			treeName4.setBounds(new Rectangle(36, 192, 150, 34));
			treePic4 = new JLabel();
			treePic4.setBounds(new Rectangle(11, 18, 200, 158));
			treeItemPanel4 = new JPanel();
			treeItemPanel4.setLayout(null);
			treeItemPanel4.setBounds(new Rectangle(740, 10, 220, 400));
			treeItemPanel4.add(treePic4, null);
			treeItemPanel4.add(treeName4, null);
			treeItemPanel4.add(treePrice4, null);
			treeItemPanel4.add(treePrice44, null);
			treeItemPanel4.add(getTreeCartButton4(), null);
			treeItemPanel4.add(getTreeInfoButton4(), null);
			treeItemPanel4.setBackground(Color.WHITE);
			treeItemPanel4.setBorder(borderColor);
		}
		return treeItemPanel4;
	}

	/**
	 * This method initializes jPanel22	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getPlantPanel() {
		if (plantPanel == null) {
			plantPanel = new JPanel();
			plantPanel.setLayout(null);
			plantPanel.add(getItem1(), null);
			plantPanel.add(getItem2(), null);
			plantPanel.add(getItem3(), null);
			plantPanel.add(getItem4(), null);
			plantPanel.add(getPlantNextButton(), null);
			plantPanel.setOpaque(false);
			plantPanel.add(getPlantPrevButton(), null);
			displayPlant();
		
		}
		return plantPanel;
		
	}
	
	/**
	 * This method initializes item1	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	
	private JPanel getItem1() {
		if (item1 == null) {
			pricePlant11 = new JLabel();
			pricePlant11.setBounds(new Rectangle(122, 267, 68, 26));
			pricePlant1 = new JLabel();
			pricePlant1.setBounds(new Rectangle(39, 262, 63, 36));
			pricePlant1.setText("PRICE:");
			namePlant1 = new JLabel();
			namePlant1.setBounds(new Rectangle(37, 208, 150, 34));
			plantLabel1 = new JLabel();
			plantLabel1.setBounds(new Rectangle(30, 18, 200, 158));
			item1 = new JPanel();
			item1.setLayout(null);
			item1.setBounds(new Rectangle(20, 10, 220, 400));
			item1.setBorder(borderColor);
			item1.setBackground(Color.WHITE);
			item1.add(plantLabel1, null);
			item1.add(namePlant1, null);
			item1.add(pricePlant1, null);
			item1.add(pricePlant11, null);
			item1.add(getInfoPlantButton1(), null);
			item1.add(getCartPlantButton1(), null);
			item1.setBackground(Color.WHITE);
			item1.setBorder(borderColor);

		}
		return item1;
	}

	/**
	 * This method initializes item2	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getItem2() {
		if (item2 == null) {
			plantLabel2 = new JLabel();
			plantLabel2.setBounds(new Rectangle(30, 18, 200, 158));
			item2 = new JPanel();
			item2.setLayout(null);
			item2.setBounds(new Rectangle(260, 10, 220, 400));
			pricePlant22 = new JLabel();
			pricePlant22.setBounds(new Rectangle(122, 267, 68, 26));
			pricePlant2 = new JLabel();
			pricePlant2.setBounds(new Rectangle(39, 262, 63, 36));
			pricePlant2.setText("PRICE:");
			namePlant2 = new JLabel();
			namePlant2.setBounds(new Rectangle(37, 208, 150, 34));
			item2.add(plantLabel2, null);
			item2.add(namePlant2, null);
			item2.add(pricePlant2, null);
			item2.add(pricePlant22, null);
			item2.add(getCartPlantButton2(), null);
			item2.add(getInfoPlantButton2(), null);
			item2.setBackground(Color.WHITE);
			item2.setBorder(borderColor);
		}
		return item2;
	}

	/**
	 * This method initializes item3	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getItem3() {
		if (item3 == null) {
			pricePlant33 = new JLabel();
			pricePlant33.setBounds(new Rectangle(122, 267, 68, 26));
			pricePlant3 = new JLabel();
			pricePlant3.setBounds(new Rectangle(39, 262, 63, 36));
			pricePlant3.setText("PRICE:");
			namePlant3 = new JLabel();
			namePlant3.setBounds(new Rectangle(37, 208, 150, 34));
			plantLabel3 = new JLabel();
			plantLabel3.setBounds(new Rectangle(30, 18,200, 158));
			item3 = new JPanel();
			item3.setLayout(null);
			item3.setBounds(new Rectangle(500, 10, 220, 400));
			item3.add(plantLabel3, null);
			item3.add(namePlant3, null);
			item3.add(pricePlant3, null);
			item3.add(pricePlant33, null);
			item3.add(getInfoPlantButton3(), null);
			item3.add(getCartPlantButton3(), null);
			item3.setBackground(Color.WHITE);
			item3.setBorder(borderColor);
		}
		return item3;
	}

	/**
	 * This method initializes item4	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getItem4() {
		if (item4 == null) {
			pricePlant44 = new JLabel();
			pricePlant44.setBounds(new Rectangle(122, 267, 68, 26));
			pricePlant4 = new JLabel();
			pricePlant4.setBounds(new Rectangle(39, 262, 63, 36));
			pricePlant4.setText("PRICE:");
			namePlant4 = new JLabel();
			namePlant4.setBounds(new Rectangle(37, 208, 150, 34));
			plantLabel4 = new JLabel();
			plantLabel4.setBounds(new Rectangle(30, 18,200, 158));
			item4 = new JPanel();
			item4.setLayout(null);
			item4.setBounds(new Rectangle(740, 10, 220, 400));
			item4.add(plantLabel4, null);
			item4.add(namePlant4, null);
			item4.add(pricePlant4, null);
			item4.add(pricePlant44, null);
			item4.add(getInfoPlantButton4(), null);
			item4.add(getCartPlantButton(), null);
			item4.setBackground(Color.WHITE);
			item4.setBorder(borderColor);
		}
		return item4;	
	}
	
	
	/**
	 * This method initializes vasePanel	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getVasePanel() {
		if (vasePanel == null) {
			vasePanel = new JPanel();
			vasePanel.setLayout(null);
			vasePanel.setOpaque(false);
			vasePanel.add(getVaseItemPanel1(), null);
			vasePanel.add(getVaseItemPanel2(), null);
			vasePanel.add(getVaseItemPanel3(), null);
			vasePanel.add(getVaseItemPanel4(), null);
			displayVase();
			vasePanel.add(getVaseNextButton(), null);
			vasePanel.add(getVasePrevButton(), null);
			displayVase();
		}
		return vasePanel;
	}

	/**
	 * This method initializes vaseItemPanel1	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getVaseItemPanel1() {
		if (vaseItemPanel1 == null) {
			vasePrice11 = new JLabel();
			vasePrice11.setBounds(new Rectangle(39, 262, 63, 36));
			vasePrice11.setText("PRICE:");
			vasePrice1 = new JLabel();
			vasePrice1.setBounds(new Rectangle(122, 267, 68, 26));
			vaseName1 = new JLabel();
			vaseName1.setBounds(new Rectangle(37, 200, 150, 34));
			vasePic1 = new JLabel();
			vasePic1.setBounds(new Rectangle(30, 18, 200, 158));
			vaseItemPanel1 = new JPanel();
			vaseItemPanel1.setLayout(null);
			vaseItemPanel1.setBounds(new Rectangle(20, 10, 220, 400));
			vaseItemPanel1.add(vasePic1, null);
			vaseItemPanel1.add(vaseName1, null);
			vaseItemPanel1.add(vasePrice1, null);
			vaseItemPanel1.add(vasePrice11, null);
			vaseItemPanel1.add(getVaseCartButton1(), null);
			vaseItemPanel1.add(getVaseInfoButton1(), null);
			vaseItemPanel1.setBackground(Color.WHITE);
			vaseItemPanel1.setBorder(borderColor);
		}
		return vaseItemPanel1;
	}

	/**
	 * This method initializes vaseItemPanel2	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getVaseItemPanel2() {
		if (vaseItemPanel2 == null) {
			vasePrice22 = new JLabel();
			vasePrice22.setBounds(new Rectangle(39, 262, 63, 36));
			vasePrice22.setText("PRICE:");
			vasePrice2 = new JLabel();
			vasePrice2.setBounds(new Rectangle(122, 267, 68, 26));
			vaseName2 = new JLabel();
			vaseName2.setBounds(new Rectangle(37, 200, 150, 34));
			vasePic2 = new JLabel();
			vasePic2.setBounds(new Rectangle(30, 18, 200, 158));
			vaseItemPanel2 = new JPanel();
			vaseItemPanel2.setLayout(null);
			vaseItemPanel2.setBounds(new Rectangle(260, 10, 220, 400));
			vaseItemPanel2.add(vasePic2, null);
			vaseItemPanel2.add(vaseName2, null);
			vaseItemPanel2.add(vasePrice2, null);
			vaseItemPanel2.add(vasePrice22, null);
			vaseItemPanel2.add(getVaseCartButton2(), null);
			vaseItemPanel2.add(getVaseInfoButton2(), null);
			vaseItemPanel2.setBackground(Color.WHITE);
			vaseItemPanel2.setBorder(borderColor);
		}
		return vaseItemPanel2;
	}

	/**
	 * This method initializes vaseItemPanel3	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getVaseItemPanel3() {
		if (vaseItemPanel3 == null) {
			vasePrice33 = new JLabel();
			vasePrice33.setBounds(new Rectangle(39, 262, 63, 36));
			vasePrice33.setText("PRICE:");
			vasePrice3 = new JLabel();
			vasePrice3.setBounds(new Rectangle(122, 267, 68, 26));
			vaseName3 = new JLabel();
			vaseName3.setBounds(new Rectangle(37, 200, 150, 34));
			vasePic3 = new JLabel();
			vasePic3.setBounds(new Rectangle(30, 18, 200, 158));
			vaseItemPanel3 = new JPanel();
			vaseItemPanel3.setLayout(null);
			vaseItemPanel3.setBounds(new Rectangle(500, 10, 220, 400));
			vaseItemPanel3.add(vasePic3, null);
			vaseItemPanel3.add(vaseName3, null);
			vaseItemPanel3.add(vasePrice3, null);
			vaseItemPanel3.add(vasePrice33, null);
			vaseItemPanel3.add(getVaseCartButton3(), null);
			vaseItemPanel3.add(getVaseInfoButton3(), null);
			vaseItemPanel3.setBackground(Color.WHITE);
			vaseItemPanel3.setBorder(borderColor);
		}
		return vaseItemPanel3;
	}

	/**
	 * This method initializes vaseItemPanel4	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getVaseItemPanel4() {
		if (vaseItemPanel4 == null) {
			vasePrice44 = new JLabel();
			vasePrice44.setBounds(new Rectangle(39, 262, 63, 36));
			vasePrice44.setText("PRICE:");
			vasePrice4 = new JLabel();
			vasePrice4.setBounds(new Rectangle(122, 267, 68, 26));
			vaseName4 = new JLabel();
			vaseName4.setBounds(new Rectangle(37, 200, 150, 34));
			vasePic4 = new JLabel();
			vasePic4.setBounds(new Rectangle(30, 18, 200, 158));
			vaseItemPanel4 = new JPanel();
			vaseItemPanel4.setLayout(null);
			vaseItemPanel4.setBounds(new Rectangle(740, 10, 220, 400));
			vaseItemPanel4.add(vasePic4, null);
			vaseItemPanel4.add(vaseName4, null);
			vaseItemPanel4.add(vasePrice4, null);
			vaseItemPanel4.add(vasePrice44, null);
			vaseItemPanel4.add(getVaseCartButton4(), null);
			vaseItemPanel4.add(getVaseInfoButton4(), null);
			vaseItemPanel4.setBackground(Color.WHITE);
			vaseItemPanel4.setBorder(borderColor);
		}
		return vaseItemPanel4;
	}

	/**
	 * This method initializes bridalPanel	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getBridalPanel() {
		if (bridalPanel == null) {
			bridalPanel = new JPanel();
			bridalPanel.setLayout(null);
			bridalPanel.add(getBridalItemPanel1(), null);
			bridalPanel.add(getBridalItemPanel2(), null);
			bridalPanel.add(getBridalItemPanel3(), null);
			bridalPanel.add(getBridalItemPanel4(), null);
			bridalPanel.add(getBridalNextButton(), null);
			bridalPanel.add(getBridalPrevButton(), null);
			displayBridal();
		}
		return bridalPanel;
	}

	/**
	 * This method initializes bridalItemPanel1	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getBridalItemPanel1() {
		if (bridalItemPanel1 == null) {
			bridalPrice11 = new JLabel();
			bridalPrice11.setBounds(new Rectangle(122, 267, 68, 26));
			bridalPrice1 = new JLabel();
			bridalPrice1.setBounds(new Rectangle(39, 262, 63, 36));
			bridalPrice1.setText("PRICE:");
			bridalName1 = new JLabel();
			bridalName1.setBounds(new Rectangle(36, 192, 150, 34));
			bridalPic1 = new JLabel();
			bridalPic1.setBounds(new Rectangle(30, 18, 200, 158));
			bridalItemPanel1 = new JPanel();
			bridalItemPanel1.setLayout(null);
			bridalItemPanel1.setBounds(new Rectangle(20, 10, 220, 400));
			bridalItemPanel1.add(bridalPic1, null);
			bridalItemPanel1.add(bridalName1, null);
			bridalItemPanel1.add(bridalPrice1, null);
			bridalItemPanel1.add(bridalPrice11, null);
			bridalItemPanel1.add(getBridalCartButton1(), null);
			bridalItemPanel1.add(getBridalInfoButton1(), null);
			bridalItemPanel1.setBackground(Color.WHITE);
			bridalItemPanel1.setBorder(borderColor);
		}
		return bridalItemPanel1;
	}

	/**
	 * This method initializes bridalItemPanel2	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getBridalItemPanel2() {
		if (bridalItemPanel2 == null) {
			bridalPrice22 = new JLabel();
			bridalPrice22.setBounds(new Rectangle(122, 267, 68, 26));
			bridalPrice2 = new JLabel();
			bridalPrice2.setBounds(new Rectangle(39, 262, 63, 36));
			bridalPrice2.setText("PRICE:");
			bridalName2 = new JLabel();
			bridalName2.setBounds(new Rectangle(36, 192, 150, 34));
			bridalPic2 = new JLabel();
			bridalPic2.setBounds(new Rectangle(30, 18, 200, 158));
			bridalItemPanel2 = new JPanel();
			bridalItemPanel2.setLayout(null);
			bridalItemPanel2.setBounds(new Rectangle(260, 10, 220, 400));
			bridalItemPanel2.add(bridalPic2, null);
			bridalItemPanel2.add(bridalName2, null);
			bridalItemPanel2.add(bridalPrice2, null);
			bridalItemPanel2.add(bridalPrice22, null);
			bridalItemPanel2.add(getBridalCartButton2(), null);
			bridalItemPanel2.add(getBridalInfoButton2(), null);
			bridalItemPanel2.setBackground(Color.WHITE);
			bridalItemPanel2.setBorder(borderColor);
		}
		return bridalItemPanel2;
	}

	/**
	 * This method initializes bridalItemPanel3	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getBridalItemPanel3() {
		if (bridalItemPanel3 == null) {
			bridalPrice33 = new JLabel();
			bridalPrice33.setBounds(new Rectangle(122, 267, 68, 26));
			bridalPrice3 = new JLabel();
			bridalPrice3.setBounds(new Rectangle(39, 262, 63, 36));
			bridalPrice3.setText("PRICE:");
			bridalName3 = new JLabel();
			bridalName3.setBounds(new Rectangle(36, 192, 150, 34));
			bridalPic3 = new JLabel();
			bridalPic3.setBounds(new Rectangle(30, 18, 200, 158));
			bridalItemPanel3 = new JPanel();
			bridalItemPanel3.setLayout(null);
			bridalItemPanel3.setBounds(new Rectangle(500, 10, 220, 400));
			bridalItemPanel3.add(bridalPic3, null);
			bridalItemPanel3.add(bridalName3, null);
			bridalItemPanel3.add(bridalPrice3, null);
			bridalItemPanel3.add(bridalPrice33, null);
			bridalItemPanel3.add(getBridalCartButton3(), null);
			bridalItemPanel3.add(getBridalInfoButton3(), null);
			bridalItemPanel3.setBackground(Color.WHITE);
			bridalItemPanel3.setBorder(borderColor);
		}
		return bridalItemPanel3;
	}

	/**
	 * This method initializes bridalItemPanel4	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getBridalItemPanel4() {
		if (bridalItemPanel4 == null) {
			bridalPrice44 = new JLabel();
			bridalPrice44.setBounds(new Rectangle(122, 267, 68, 26));
			bridalPrice4 = new JLabel();
			bridalPrice4.setBounds(new Rectangle(39, 262, 63, 36));
			bridalPrice4.setText("PRICE:");
			bridalName4 = new JLabel();
			bridalName4.setBounds(new Rectangle(36, 192, 150, 34));
			bridalPic4 = new JLabel();
			bridalPic4.setBounds(new Rectangle(30, 18, 200, 158));
			bridalItemPanel4 = new JPanel();
			bridalItemPanel4.setLayout(null);
			bridalItemPanel4.setBounds(new Rectangle(740, 10, 220, 400));
			bridalItemPanel4.add(bridalPic4, null);
			bridalItemPanel4.add(bridalName4, null);
			bridalItemPanel4.add(bridalPrice4, null);
			bridalItemPanel4.add(bridalPrice44, null);
			bridalItemPanel4.add(getBridalCartButton4(), null);
			bridalItemPanel4.add(getBridalInfoButton4(), null);
			bridalItemPanel4.setBackground(Color.WHITE);
			bridalItemPanel4.setBorder(borderColor);
		}
		return bridalItemPanel4;
	}

	public void displaySale(){
			if (!saleFlag)
				x4=0;
			else saleFlag = false;
			if (sl.size()>x4){
				saleName1.setText(sl.get(x4).getName().toUpperCase());
				saleName1.setFont(font);
				priceBefore1.setText(Integer.toString(sl.get(x4).getPrice()));
				priceBefore1.setFont(font);
				priceAfter1.setText(Integer.toString(sl.get(x4).getSale()));
				priceAfter1.setFont(font);
				if (picSale1==null){
					picSale1 = new JLabel(sl.get(x4).getIcon(),JLabel.CENTER);
					picSale1.setBounds(new Rectangle(11, 18, 200, 158));
					itemSalePanel1.add(picSale1,null);
				}
				else{
					picSale1.setIcon(sl.get(x4).getIcon());
					salesPanel.add(itemSalePanel1);
				}
			}
			else salesPanel.remove(itemSalePanel1);
			if (sl.size()>x4+1){
				saleName2.setText(sl.get(x4+1).getName().toUpperCase());
				saleName2.setFont(font);
				priceBefore2.setText(Integer.toString(sl.get(x4+1).getPrice()));
				priceBefore2.setFont(font);
				priceAfter2.setText(Integer.toString(sl.get(x4+1).getSale()));
				priceAfter2.setFont(font);
				if (picSale2==null){
					picSale2 = new JLabel(sl.get(x4+1).getIcon(),JLabel.CENTER);
					picSale2.setBounds(new Rectangle(11, 18, 200, 158));
					itemSalePanel2.add(picSale2,null);
				}
				else{
					picSale2.setIcon(sl.get(x4+1).getIcon());
					salesPanel.add(itemSalePanel2);
				}
			}
			else salesPanel.remove(itemSalePanel2);
			if (sl.size()>x4+2){
				saleName3.setText(sl.get(x4+2).getName().toUpperCase());
				saleName3.setFont(font);
				priceBefore3.setText(Integer.toString(sl.get(x4+2).getPrice()));
				priceBefore3.setFont(font);
				priceAfter3.setText(Integer.toString(sl.get(x4+2).getSale()));
				priceAfter3.setFont(font);
				if (picSale3==null){
					picSale3 = new JLabel(sl.get(x4+2).getIcon(),JLabel.CENTER);
					picSale3.setBounds(new Rectangle(11, 18, 200, 158));
					itemSalePanel3.add(picSale3,null);
				}	
				else{
					picSale3.setIcon(sl.get(x4+2).getIcon());
					salesPanel.add(itemSalePanel3);
				}
			}
			else salesPanel.remove(itemSalePanel3);
			if (sl.size()>x4+3){
				saleName4.setText(sl.get(x4+3).getName().toUpperCase());
				saleName4.setFont(font);
				priceBefore4.setText(Integer.toString(sl.get(x4+3).getPrice()));
				priceBefore4.setFont(font);
				priceAfter4.setText(Integer.toString(sl.get(x4+3).getSale()));
				priceAfter4.setFont(font);
				if (picSale4==null){
					picSale4 = new JLabel(sl.get(x4+3).getIcon(),JLabel.CENTER);
					picSale4.setBounds(new Rectangle(11, 18, 200, 158));
					itemSalePanel4.add(picSale4,null);
				}
				else{
					picSale4.setIcon(sl.get(x4+3).getIcon());
					salesPanel.add(itemSalePanel4);
				}
			}	
			else salesPanel.remove(itemSalePanel4);
		updateUI();
	}
	
	
	public void displayFlower(){
			if (!flowerFlag)
				x3=0;
			else flowerFlag = false;
			if (flw.size()>x3){
				flowerName1.setText(flw.get(x3).getName().toUpperCase());
				flowerName1.setFont(font);
				flowerPrice11.setText(Integer.toString(flw.get(x3).getPrice()));
				flowerPrice11.setFont(font);
				if (flowerPic1==null){
					flowerPic1 = new JLabel(flw.get(x3).getIcon(),JLabel.CENTER);
					flowerPic1.setBounds(new Rectangle(11, 18, 200, 158));
					flowerItemPanel1.add(flowerPic1,null);
				}	
				else{
					flowerPic1.setIcon(flw.get(x3).getIcon());
					flowersPanel.add(flowerItemPanel1);
				}
			}
			else flowersPanel.remove(flowerItemPanel1);
			if (flw.size()>x3+1){
				flowerName2.setText(flw.get(x3+1).getName().toUpperCase());
				flowerName2.setFont(font);
				flowerPrice22.setText(Integer.toString(flw.get(x3+1).getPrice()));
				flowerPrice22.setFont(font);
				if (flowerPic2==null){
					flowerPic2 = new JLabel(flw.get(x3+1).getIcon(),JLabel.CENTER);
					flowerPic2.setBounds(new Rectangle(11, 18, 200, 158));
					flowerItemPanel2.add(flowerPic2,null);
				}
				else{
					flowerPic2.setIcon(flw.get(x3+1).getIcon());
					flowersPanel.add(flowerItemPanel2);
				}
			}
			else flowersPanel.remove(flowerItemPanel2);
			if (flw.size()>x3+2){
				flowerName3.setText(flw.get(x3+2).getName().toUpperCase());
				flowerName3.setFont(font);
				flowerPrice33.setText(Integer.toString(flw.get(x3+2).getPrice()));
				flowerPrice33.setFont(font);
				if (flowerPic3==null){
					flowerPic3 = new JLabel(flw.get(x3+2).getIcon(),JLabel.CENTER);
					flowerPic3.setBounds(new Rectangle(11, 18, 200, 158));
					flowerItemPanel3.add(flowerPic3,null);
				}
				else{
					flowerPic3.setIcon(flw.get(x3+2).getIcon());
					flowersPanel.add(flowerItemPanel3);
				}
			}
			else flowersPanel.remove(flowerItemPanel3);
			if (flw.size()>x3+3){
				flowerPic4.setIcon(flw.get(x3+3).getIcon());
				flowerName4.setText(flw.get(x3+3).getName().toUpperCase());
				flowerName4.setFont(font);
				flowerPrice44.setText(Integer.toString(flw.get(x3+3).getPrice()));
				flowerPrice44.setFont(font);
				if (flowerPic4==null){
					flowerPic4 = new JLabel(flw.get(x3+3).getIcon(),JLabel.CENTER);
					flowerPic4.setBounds(new Rectangle(11, 18, 200, 158));
					flowerItemPanel4.add(flowerPic4,null);
				}
				else{
					flowerPic4.setIcon(flw.get(x3+3).getIcon());
					flowersPanel.add(flowerItemPanel4);
				}
			}
			else flowersPanel.remove(flowerItemPanel4);	
		updateUI();
	}
	
	public void displayTree(){
			if (!plantFlag)
				x2=0;
			else treeFlag = false;
			if (tr.size()>x2){
				treePic1.setIcon(tr.get(x2).getIcon());
				treeName1.setText(tr.get(x2).getName().toUpperCase());
				treeName1.setFont(font);
				treePrice11.setText(Integer.toString(tr.get(x2).getPrice()));
				treePrice11.setFont(font);
				treePanel.add(treeItemPanel1);
				if (treePic1==null){
					treePic1 = new JLabel(tr.get(x2).getIcon(),JLabel.CENTER);
					treePic1.setBounds(new Rectangle(11, 18, 200, 158));
					treeItemPanel1.add(treePic1,null);
				}	
				else{
					treePic1.setIcon(tr.get(x2).getIcon());
					treePanel.add(treeItemPanel1);
				}
			}
			else treePanel.remove(treeItemPanel1);
			if (tr.size()>x2+1){
				treeName2.setText(tr.get(x2+1).getName().toUpperCase());
				treeName2.setFont(font);
				treePrice22.setText(Integer.toString(tr.get(x2+1).getPrice()));
				treePrice22.setFont(font);
				if (treePic2==null){
					treePic2 = new JLabel(tr.get(x2+1).getIcon(),JLabel.CENTER);
					treePic2.setBounds(new Rectangle(11, 18, 200, 158));
					treeItemPanel2.add(treePic2,null);
				}
				else{
					treePic2.setIcon(tr.get(x2+1).getIcon());
					treePanel.add(treeItemPanel2);
				}
			}
			else treePanel.remove(treeItemPanel2);
			if (tr.size()>x2+2){
				treeName3.setText(tr.get(x2+2).getName().toUpperCase());
				treeName3.setFont(font);
				treePrice33.setText(Integer.toString(tr.get(x2+2).getPrice()));
				treePrice33.setFont(font);
				if (treePic3==null){
					treePic3 = new JLabel(tr.get(x2+2).getIcon(),JLabel.CENTER);
					treePic3.setBounds(new Rectangle(11, 18, 200, 158));
					treeItemPanel3.add(treePic3,null);
				}
				else{
					treePic3.setIcon(tr.get(x2+2).getIcon());
					treePanel.add(treeItemPanel3);
				}
			}
			else treePanel.remove(treeItemPanel3);
			if (tr.size()>x2+3){
				treeName4.setText(tr.get(x2+3).getName().toUpperCase());
				treeName4.setFont(font);
				treePrice44.setText(Integer.toString(tr.get(x2+3).getPrice()));
				treePrice44.setFont(font);
				if (treePic4==null){
					treePic4 = new JLabel(tr.get(x2+3).getIcon(),JLabel.CENTER);
					treePic4.setBounds(new Rectangle(11, 18, 200, 158));
					treeItemPanel4.add(treePic4,null);
				}
				else{
					treePic4.setIcon(tr.get(x2+3).getIcon());
					treePanel.add(treeItemPanel4);
				}
			}
			else treePanel.remove(treeItemPanel4);
		updateUI();
	}
	
	public void displayPlant(){
			if (!plantFlag)
				x1=0;
			else plantFlag = false;
			if (plt.size()>x1){
				namePlant1.setText(plt.get(x1).getName().toUpperCase());
				namePlant1.setFont(font);
				pricePlant11.setText(Integer.toString(plt.get(x1).getPrice()));
				if (plantLabel1==null){
					plantLabel1.setIcon(plt.get(x1).getIcon());
					plantLabel1.setBounds(new Rectangle(11, 18, 200, 158));
					item1.add(plantLabel1,null);
				}
				else{
					plantLabel1.setIcon(plt.get(x1).getIcon());
					plantPanel.add(item1);
				}
			}
			else plantPanel.remove(item1);
			if (plt.size()>x1+1){
				namePlant2.setText(plt.get(x1+1).getName().toUpperCase());
				namePlant2.setFont(font);
				pricePlant22.setText(Integer.toString(plt.get(x1+1).getPrice()));
				if (plantLabel2==null){
					plantLabel2.setBounds(new Rectangle(11, 18, 200, 158));
					plantLabel2.setIcon(plt.get(x1+1).getIcon());
					item2.add(plantLabel1,null);
				}
				else{
					plantLabel2.setIcon(plt.get(x1+1).getIcon());
					plantPanel.add(item2);
				}
			}
			else plantPanel.remove(item2);
			if (plt.size()>x1+2){
				namePlant3.setText(plt.get(x1+2).getName().toUpperCase());
				namePlant3.setFont(font);
				pricePlant33.setText(Integer.toString(plt.get(x1+2).getPrice()));
				if (plantLabel3==null){
					plantLabel3.setBounds(new Rectangle(11, 18, 200, 158));
					plantLabel3.setIcon(plt.get(x1+2).getIcon());
					item3.add(plantLabel1,null);
				}
				else{
					plantLabel3.setIcon(plt.get(x1+2).getIcon());
					plantPanel.add(item3);
				}
			}
			else plantPanel.remove(item3);
			if (plt.size()>x1+3){
				plantLabel4.setIcon(plt.get(x1+3).getIcon());
				namePlant4.setText(plt.get(x1+3).getName().toUpperCase());
				namePlant4.setFont(font);
				pricePlant44.setText(Integer.toString(plt.get(x1+3).getPrice()));
				if (plantLabel4==null){
					plantLabel4.setBounds(new Rectangle(11, 18, 200, 158));
					plantLabel4.setIcon(plt.get(x1+3).getIcon());
					item4.add(plantLabel4,null);
				}
				else{
					plantLabel4.setIcon(plt.get(x1+3).getIcon());
					plantPanel.add(item4);
				}
			}
			else plantPanel.remove(item4);
		updateUI();
	}
	
	public void displayVase(){
			if (!vaseFlag)
				x5=0;
			else vaseFlag = false;
			if (va.size()>x5){
				vaseName1.setText(va.get(x5).getName().toUpperCase());
				vaseName1.setFont(font);
				vasePrice1.setText(Integer.toString(va.get(x5).getPrice()));
				vasePrice1.setFont(font);
				if (vasePic1==null){
					vasePic1 = new JLabel(va.get(x5).getIcon(),JLabel.CENTER);
					vasePic1.setBounds(new Rectangle(11, 18, 200, 158));
					vaseItemPanel1.add(vasePic1,null);
				}
				else{
					vasePic1.setIcon(va.get(x5).getIcon());
					vasePanel.add(vaseItemPanel1);
				}
			}
			else vasePanel.remove(vaseItemPanel1);
			if (va.size()>x5+1){
				vaseName2.setText(va.get(x5+1).getName().toUpperCase());
				vaseName2.setFont(font);
				vasePrice2.setText(Integer.toString(va.get(x5+1).getPrice()));
				vasePrice2.setFont(font);
				if (vasePic2==null){
					vasePic2 = new JLabel(va.get(x5+1).getIcon(),JLabel.CENTER);
					vasePic2.setBounds(new Rectangle(11, 18, 200, 158));
					vaseItemPanel2.add(vasePic2,null);
				}
				else{
					vasePic2.setIcon(va.get(x5+1).getIcon());
					vasePanel.add(vaseItemPanel2);
				}
			}
			else vasePanel.remove(vaseItemPanel2);
			if (va.size()>x5+2){
				vaseName3.setText(va.get(x5+2).getName().toUpperCase());
				vaseName3.setFont(font);
				vasePrice3.setText(Integer.toString(va.get(x5+2).getPrice()));
				vasePrice3.setFont(font);
				if (vasePic3==null){
					vasePic3 = new JLabel(va.get(x5+2).getIcon(),JLabel.CENTER);
				vasePic3.setBounds(new Rectangle(11, 18, 200, 158));
				vaseItemPanel3.add(vasePic3,null);
			}
			else{
				vasePic3.setIcon(va.get(x5+2).getIcon());
				vasePanel.add(vaseItemPanel3);
				}
			}
			else vasePanel.remove(vaseItemPanel3);
			if (va.size()>x5+3){
				vaseName4.setText(va.get(x5+3).getName().toUpperCase());
				vaseName4.setFont(font);
				vasePrice4.setText(Integer.toString(va.get(x5+3).getPrice()));
				vasePrice4.setFont(font);
				if (vasePic4==null){
					vasePic4 = new JLabel(va.get(x5+3).getIcon(),JLabel.CENTER);
					vasePic4.setBounds(new Rectangle(11, 18, 200, 158));
					vaseItemPanel4.add(vasePic4,null);
				}
				else{
					vasePic4.setIcon(va.get(x5+3).getIcon());
					vasePanel.add(vaseItemPanel4);
				}
			}
			else vasePanel.remove(vaseItemPanel4);

		updateUI();
	}
	
	public void displayBridal(){
			if (!bridalFlag)
				x6=0;
			else bridalFlag = false;
			if (br.size()>x6){
				bridalName1.setText(br.get(x6).getName().toUpperCase());
				bridalName1.setFont(font);
				bridalPrice11.setText(Integer.toString(br.get(x6).getPrice()));
				bridalPrice11.setFont(font);
				if (bridalPic1==null){
					bridalPic1 = new JLabel(br.get(x6).getIcon(),JLabel.CENTER);
					bridalPic1.setBounds(new Rectangle(11, 18, 200, 158));
					bridalItemPanel1.add(bridalPic1,null);
				}
				else{
					bridalPic1.setIcon(br.get(x6).getIcon());
					bridalPanel.add(bridalItemPanel1);
				}
			}
			else bridalPanel.remove(bridalItemPanel1);
			if (br.size()>x6+1){
				bridalName2.setText(br.get(x6+1).getName().toUpperCase());
				bridalName2.setFont(font);
				bridalPrice22.setText(Integer.toString(br.get(x6+1).getPrice()));
				bridalPrice22.setFont(font);
				if (bridalPic2==null){
					bridalPic2 = new JLabel(br.get(x6+1).getIcon(),JLabel.CENTER);
					bridalPic2.setBounds(new Rectangle(11, 18, 200, 158));
					bridalItemPanel2.add(bridalPic2,null);
				}	
				else{
					bridalPic2.setIcon(br.get(x6+1).getIcon());
					bridalPanel.add(bridalItemPanel2);
				}
			}
			else bridalPanel.remove(bridalItemPanel2);
			if (br.size()>x6+2){
				bridalName3.setText(br.get(x6+2).getName().toUpperCase());
				bridalName3.setFont(font);
				bridalPrice33.setText(Integer.toString(br.get(x6+2).getPrice()));
				bridalPrice33.setFont(font);
				if (bridalPic3==null){
					bridalPic3 = new JLabel(br.get(x6+2).getIcon(),JLabel.CENTER);
					bridalPic3.setBounds(new Rectangle(11, 18, 200, 158));
					bridalItemPanel3.add(bridalPic3,null);
				}	
				else{
					bridalPic3.setIcon(br.get(x6+2).getIcon());
					bridalPanel.add(bridalItemPanel3);
				}
			}
			else bridalPanel.remove(bridalItemPanel3);
			if (br.size()>x6+3){
				bridalName4.setText(br.get(x6+3).getName().toUpperCase());
				bridalName4.setFont(font);
				bridalPrice44.setText(Integer.toString(br.get(x6+3).getPrice()));
				bridalPrice44.setFont(font);
				if (bridalPic4==null){
					bridalPic4 = new JLabel(br.get(x6+3).getIcon(),JLabel.CENTER);
					bridalPic4.setBounds(new Rectangle(11, 18, 200, 158));
					bridalItemPanel3.add(bridalPic4,null);
				}
				else{
					bridalPic4.setIcon(br.get(x6+3).getIcon());
					bridalPanel.add(bridalItemPanel4);
				}
			}
			else bridalPanel.remove(bridalItemPanel4);
		updateUI();
	}
	
	/**
	 * This method initializes cartPlantButton1	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getCartPlantButton2() {
		if (cartPlantButton2 == null) {
			cartPlantButton2 = new JButton();
			cartPlantButton2.setBounds(new Rectangle(10, 360, 106, 25));
			cartPlantButton2.setText("ADD TO CART");
			cartPlantButton2.setFont(new Font("2",Font.BOLD,10));
			cartPlantButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (plt.get(x1+1).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return cartPlantButton2;
	}

	/**
	 * This method initializes infoPlantButton1	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getInfoPlantButton2() {
		if (infoPlantButton2 == null) {
			infoPlantButton2 = new JButton();
			infoPlantButton2.setBounds(new Rectangle(110, 325, 106, 25));
			infoPlantButton2.setText("MORE INFO");
			infoPlantButton2.setFont(new Font("2",Font.BOLD,10));
			infoPlantButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(plt.get(x1+1));
				}
			});
		}
		return infoPlantButton2;
	}

	/**
	 * This method initializes infoPlantButton1	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getInfoPlantButton1() {
		if (infoPlantButton1 == null) {
			infoPlantButton1 = new JButton();
			infoPlantButton1.setBounds(new Rectangle(110, 325, 106, 25));
			infoPlantButton1.setText("MORE INFO");
			infoPlantButton1.setFont(new Font("2",Font.BOLD,10));
			infoPlantButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(plt.get(x1));
				}
			});
		}
		return infoPlantButton1;
	}

	/**
	 * This method initializes cartPlantButton1	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getCartPlantButton1() {
		if (cartPlantButton1 == null) {
			cartPlantButton1 = new JButton();
			cartPlantButton1.setBounds(new Rectangle(10, 360, 106, 25));
			cartPlantButton1.setText("ADD TO CART");
			cartPlantButton1.setFont(new Font("as",Font.BOLD,10));
			cartPlantButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (plt.get(x1).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return cartPlantButton1;
	}

	/**
	 * This method initializes infoPlantButton3	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getInfoPlantButton3() {
		if (infoPlantButton3 == null) {
			infoPlantButton3 = new JButton();
			infoPlantButton3.setBounds(new Rectangle(110, 325, 106, 25));
			infoPlantButton3.setText("MORE INFO");
			infoPlantButton3.setFont(new Font("2",Font.BOLD,10));
			infoPlantButton3.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(plt.get(x1+2));
				}
			});
		}
		return infoPlantButton3;
	}

	/**
	 * This method initializes cartPlantButton3	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getCartPlantButton3() {
		if (cartPlantButton3 == null) {
			cartPlantButton3 = new JButton();
			cartPlantButton3.setBounds(new Rectangle(10, 360, 106, 25));
			cartPlantButton3.setText("ADD TO CART");
			cartPlantButton3.setFont(new Font("2",Font.BOLD,10));
			cartPlantButton3.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (plt.get(x1+2).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return cartPlantButton3;
	}

	/**
	 * This method initializes infoPlantButton4	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getInfoPlantButton4() {
		if (infoPlantButton4 == null) {
			infoPlantButton4 = new JButton();
			infoPlantButton4.setBounds(new Rectangle(110, 325, 106, 25));
			infoPlantButton4.setText("MORE INFO");
			infoPlantButton4.setFont(new Font("2",Font.BOLD,10));
			infoPlantButton4.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(plt.get(x1+3));
				}
			});
		}
		return infoPlantButton4;
	}

	/**
	 * This method initializes cartPlantButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getCartPlantButton() {
		if (cartPlantButton == null) {
			cartPlantButton = new JButton();
			cartPlantButton.setBounds(new Rectangle(10, 360, 106, 25));
			cartPlantButton.setText("ADD TO CART");
			cartPlantButton.setFont(new Font("2",Font.BOLD,10));
			cartPlantButton.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (plt.get(x1+3).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return cartPlantButton;
	}

	/**
	 * This method initializes saleInfoButton4	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getSaleInfoButton4() {
		if (saleInfoButton4 == null) {
			saleInfoButton4 = new JButton();
			saleInfoButton4.setBounds(new Rectangle(125, 350, 90, 25));
			saleInfoButton4.setText("MORE INFO");
			saleInfoButton4.setFont(new Font("2",Font.BOLD,8));
			saleInfoButton4.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(sl.get(x4+3));
			//this.add(getInfoPanel(sl.get(x4)));
				}
			});
		}
		return saleInfoButton4;
	}

	/**
	 * This method initializes saleInfoButton3	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getSaleInfoButton3() {
		if (saleInfoButton3 == null) {
			saleInfoButton3 = new JButton();
			saleInfoButton3.setBounds(new Rectangle(125, 350, 90, 25));
			saleInfoButton3.setText("MORE INFO");
			saleInfoButton3.setFont(new Font("2",Font.BOLD,8));
			saleInfoButton3.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(sl.get(x4+2));
			//this.add(getInfoPanel(sl.get(x4)));
				}
			});
		}
		return saleInfoButton3;
	}

	/**
	 * This method initializes saleInfoButton2	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getSaleInfoButton2() {
		if (saleInfoButton2 == null) {
			saleInfoButton2 = new JButton();
			saleInfoButton2.setBounds(new Rectangle(125, 350, 90, 25));
			saleInfoButton2.setText("MORE INFO");
			saleInfoButton2.setFont(new Font("2",Font.BOLD,8));
			saleInfoButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(sl.get(x4+1));
			//this.add(getInfoPanel(sl.get(x4)));
				}
			});
		}
		return saleInfoButton2;
	}

	/**
	 * This method initializes saleInfoButton1	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getSaleInfoButton1() {
		if (saleInfoButton1 == null) {
			saleInfoButton1 = new JButton();
			saleInfoButton1.setBounds(new Rectangle(125, 350, 90, 25));
			saleInfoButton1.setText("MORE INFO");
			saleInfoButton1.setFont(new Font("2",Font.BOLD,8));
			saleInfoButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(sl.get(x4));
			//this.add(getInfoPanel(sl.get(x4)));
				}
			});
		}
		return saleInfoButton1;
	}

	/**
	 * This method initializes saleCartButton4	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getSaleCartButton4() {
		if (saleCartButton4 == null) {
			saleCartButton4 = new JButton();
			saleCartButton4.setBounds(new Rectangle(7, 350, 106, 25));
			saleCartButton4.setText("ADD TO CART");
			saleCartButton4.setFont(new Font("2",Font.BOLD,10));
			saleCartButton4.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (sl.get(x4+3).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return saleCartButton4;
	}

	/**
	 * This method initializes saleCartButton3	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getSaleCartButton3() {
		if (saleCartButton3 == null) {
			saleCartButton3 = new JButton();
			saleCartButton3.setBounds(new Rectangle(7, 350, 106, 25));
			saleCartButton3.setText("ADD TO CART");
			saleCartButton3.setFont(new Font("2",Font.BOLD,10));
			saleCartButton3.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (sl.get(x4+2).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return saleCartButton3;
	}

	/**
	 * This method initializes saleCartButton2	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getSaleCartButton2() {
		if (saleCartButton2 == null) {
			saleCartButton2 = new JButton();
			saleCartButton2.setBounds(new Rectangle(7, 350, 106, 25));
			saleCartButton2.setText("ADD TO CART");
			saleCartButton2.setFont(new Font("2",Font.BOLD,10));
			saleCartButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (sl.get(x4+1).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return saleCartButton2;
	}

	/**
	 * This method initializes saleCartButton1	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getSaleCartButton1() {
		if (saleCartButton1 == null) {
			saleCartButton1 = new JButton();
			saleCartButton1.setBounds(new Rectangle(7, 350, 106, 25));
			saleCartButton1.setText("ADD TO CART");
			saleCartButton1.setFont(new Font("2",Font.BOLD,10));
			saleCartButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (sl.get(x4).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return saleCartButton1;
	}
	/**
	 * This method initializes treeCartButton1	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getTreeCartButton1() {
		if (treeCartButton1 == null) {
			treeCartButton1 = new JButton();
			treeCartButton1.setBounds(new Rectangle(10, 360, 106, 25));
			treeCartButton1.setText("ADD TO CART");
			treeCartButton1.setFont(new Font("ADD TO CART",Font.BOLD,10));
			treeCartButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (tr.get(x2).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return treeCartButton1;
	}

	/**
	 * This method initializes treeCartButton2	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getTreeCartButton2() {
		if (treeCartButton2 == null) {
			treeCartButton2 = new JButton();
			treeCartButton2.setBounds(new Rectangle(10, 360, 106, 25));
			treeCartButton2.setText("ADD TO CART");
			treeCartButton2.setFont(new Font("ADD TO CART",Font.BOLD,10));
			treeCartButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (tr.get(x2+1).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});	
		}
		return treeCartButton2;
	}

	/**
	 * This method initializes treeCartButton3	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getTreeCartButton3() {
		if (treeCartButton3 == null) {
			treeCartButton3 = new JButton();
			treeCartButton3.setBounds(new Rectangle(10, 360, 106, 25));
			treeCartButton3.setText("ADD TO CART");
			treeCartButton3.setFont(new Font("ADD TO CART",Font.BOLD,10));
			treeCartButton3.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (tr.get(x2+2).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return treeCartButton3;
	}
	
	/**
	 * This method initializes treeCartButton4	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getTreeCartButton4() {
		if (treeCartButton4 == null) {
			treeCartButton4 = new JButton();
			treeCartButton4.setBounds(new Rectangle(10, 360, 106, 25));
			treeCartButton4.setText("ADD TO CART");
			treeCartButton4.setFont(new Font("ADD TO CART",Font.BOLD,10));
			treeCartButton4.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (tr.get(x2+3).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return treeCartButton4;
	}
	
	/**
	 * This method initializes treeInfoButton1	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getTreeInfoButton1() {
		if (treeInfoButton1 == null) {
			treeInfoButton1 = new JButton();
			treeInfoButton1.setBounds(new Rectangle(109, 328, 106, 25));
			treeInfoButton1.setText("MORE INFO");
			treeInfoButton1.setFont(new Font("2",Font.BOLD,10));
			treeInfoButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(tr.get(x2));
				}
			});
		}
		return treeInfoButton1;
	}

	/**
	 * This method initializes treeInfoButton2	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getTreeInfoButton2() {
		if (treeInfoButton2 == null) {
			treeInfoButton2 = new JButton();
			treeInfoButton2.setBounds(new Rectangle(110, 325, 106, 25));
			treeInfoButton2.setText("MORE INFO");
			treeInfoButton2.setFont(new Font("2",Font.BOLD,10));
			treeInfoButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(tr.get(x2+1));
				}
			});
		}
		return treeInfoButton2;
	}

	/**
	 * This method initializes treeInfoButton3	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getTreeInfoButton3() {
		if (treeInfoButton3 == null) {
			treeInfoButton3 = new JButton();
			treeInfoButton3.setBounds(new Rectangle(110, 325, 106, 25));
			treeInfoButton3.setText("MORE INFO");
			treeInfoButton3.setFont(new Font("2",Font.BOLD,10));
			treeInfoButton3.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(tr.get(x2+2));
				}
			});
		}
		return treeInfoButton3;
	}

	/**
	 * This method initializes treeInfoButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getTreeInfoButton4() {
		if (treeInfoButton4 == null) {
			treeInfoButton4 = new JButton();
			treeInfoButton4.setBounds(new Rectangle(110, 325, 106, 25));
			treeInfoButton4.setText("MORE INFO");
			treeInfoButton4.setFont(new Font("2",Font.BOLD,10));
			treeInfoButton4.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(tr.get(x2+3));
				}
			});
		}
		return treeInfoButton4;
	}
	
	/**
	 * This method initializes vareCartButton1	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getVaseCartButton1() {
		if (vaseCartButton1 == null) {
			vaseCartButton1 = new JButton();
			vaseCartButton1.setBounds(new Rectangle(10, 360, 106, 25));
			vaseCartButton1.setText("ADD TO CART");
			vaseCartButton1.setFont(new Font("ADD TO CART",Font.BOLD,10));
			vaseCartButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (va.get(x5).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return vaseCartButton1;
	}

	/**
	 * This method initializes vareCartButton2	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getVaseCartButton2() {
		if (vaseCartButton2 == null) {
			vaseCartButton2 = new JButton();
			vaseCartButton2.setBounds(new Rectangle(10, 360, 106, 25));
			vaseCartButton2.setText("ADD TO CART");
			vaseCartButton2.setFont(new Font("ADD TO CART",Font.BOLD,10));
			vaseCartButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (va.get(x5+1).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return vaseCartButton2;
	}
	
	/**
	 * This method initializes vareCartButton3	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getVaseCartButton3() {
		if (vaseCartButton3 == null) {
			vaseCartButton3 = new JButton();
			vaseCartButton3.setBounds(new Rectangle(10, 360, 106, 25));
			vaseCartButton3.setText("ADD TO CART");
			vaseCartButton3.setFont(new Font("ADD TO CART",Font.BOLD,10));
			vaseCartButton3.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (va.get(x5+2).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return vaseCartButton3;
	}

	/**
	 * This method initializes vareCartButton4	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getVaseCartButton4() {
		if (vaseCartButton4 == null) {
			vaseCartButton4 = new JButton();
			vaseCartButton4.setBounds(new Rectangle(10, 360, 106, 25));
			vaseCartButton4.setText("ADD TO CART");
			vaseCartButton4.setFont(new Font("ADD TO CART",Font.BOLD,10));
			vaseCartButton4.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (va.get(x5+3).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return vaseCartButton4;
	}

	/**
	 * This method initializes vareInfoButton1	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getVaseInfoButton1() {
		if (vaseInfoButton1 == null) {
			vaseInfoButton1 = new JButton();
			vaseInfoButton1.setBounds(new Rectangle(110, 325, 106, 25));
			vaseInfoButton1.setText("MORE INFO");
			vaseInfoButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(va.get(x5));
				}
			});
		}
		return vaseInfoButton1;
	}

	/**
	 * This method initializes vaseInfoButton2	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getVaseInfoButton2() {
		if (vaseInfoButton2 == null) {
			vaseInfoButton2 = new JButton();
			vaseInfoButton2.setBounds(new Rectangle(110, 325, 106, 25));
			vaseInfoButton2.setText("MORE INFO");
			vaseInfoButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(va.get(x5+1));
				}
			});
		}
		return vaseInfoButton2;
	}

	/**
	 * This method initializes vaseInfoButton3	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getVaseInfoButton3() {
		if (vaseInfoButton3 == null) {
			vaseInfoButton3 = new JButton();
			vaseInfoButton3.setBounds(new Rectangle(110, 325, 106, 25));
			vaseInfoButton3.setText("MORE INFO");
			vaseInfoButton3.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(va.get(x5+2));
				}
			});
		}
		return vaseInfoButton3;
	}

	/**
	 * This method initializes vaseInfoButton4	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getVaseInfoButton4() {
		if (vaseInfoButton4 == null) {
			vaseInfoButton4 = new JButton();
			vaseInfoButton4.setBounds(new Rectangle(110, 325, 106, 25));
			vaseInfoButton4.setText("MORE INFO");
			vaseInfoButton4.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(va.get(x5+3));
				}
			});
		}
		return vaseInfoButton4;
	}
	
	/**
	 * This method initializes flowerCartButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getFlowerCartButton1() {
		if (flowerCartButton1 == null) {
			flowerCartButton1 = new JButton();
			flowerCartButton1.setBounds(new Rectangle(10, 360, 106, 25));
			flowerCartButton1.setText("ADD TO CART");
			flowerCartButton1.setFont(new Font("ADD TO CART",Font.BOLD,10));
			flowerCartButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (flw.get(x3).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return flowerCartButton1;
	}

	/**
	 * This method initializes flowerInfoButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getFlowerInfoButton1() {
		if (flowerInfoButton1 == null) {
			flowerInfoButton1 = new JButton();
			flowerInfoButton1.setBounds(new Rectangle(110, 325, 106, 25));
			flowerInfoButton1.setText("MORE INFO");
			flowerInfoButton1.setFont(new Font("2",Font.BOLD,10));
			flowerInfoButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(flw.get(x3));
				}
			});
		}
		return flowerInfoButton1;
	}

	/**
	 * This method initializes flowerCartButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getFlowerCartButton2() {
		if (flowerCartButton2 == null) {
			flowerCartButton2 = new JButton();
			flowerCartButton2.setBounds(new Rectangle(10, 360, 106, 25));
			flowerCartButton2.setText("ADD TO CART");
			flowerCartButton2.setFont(new Font("ADD TO CART",Font.BOLD,10));
			flowerCartButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (flw.get(x3+1).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return flowerCartButton2;
	}

	/**
	 * This method initializes flowerInfoButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getFlowerInfoButton2() {
		if (flowerInfoButton2 == null) {
			flowerInfoButton2 = new JButton();
			flowerInfoButton2.setBounds(new Rectangle(110, 325, 106, 25));
			flowerInfoButton2.setText("MORE INFO");
			flowerInfoButton2.setFont(new Font("2",Font.BOLD,10));
			flowerInfoButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(flw.get(x3+1));
				}
			});
		}
		return flowerInfoButton2;
	}
		
	/**
	 * This method initializes flowerCartButton	
	 * 	
	 * @return javax.swing.JButton	
	 */	
	private JButton getFlowerCartButton3() {
			if (flowerCartButton3 == null) {
				flowerCartButton3 = new JButton();
				flowerCartButton3.setBounds(new Rectangle(10, 360, 106, 25));
				flowerCartButton3.setText("ADD TO CART");
				flowerCartButton3.setFont(new Font("ADD TO CART",Font.BOLD,10));
				flowerCartButton3.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						for (int i=0; i<cart.size(); i++){
							if (flw.get(x3+2).getId() == cart.get(i).getId()){
								int q = cart.get(i).getQuntity();
								cart.get(i).setQuntity(q+1);
							}
						}
					}
				});
			}
			return flowerCartButton3;
		}

	/**
	 * This method initializes flowerInfoButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getFlowerInfoButton3() {
		if (flowerInfoButton3 == null) {
			flowerInfoButton3 = new JButton();
			flowerInfoButton3.setBounds(new Rectangle(110, 325, 106, 25));
			flowerInfoButton3.setText("MORE INFO");
			flowerInfoButton3.setFont(new Font("2",Font.BOLD,10));
			flowerInfoButton3.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(flw.get(x3+2));
				}
			});
		}
		return flowerInfoButton3;
	}
		
	/**
	 * This method initializes flowerCartButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getFlowerCartButton4() {
		if (flowerCartButton4 == null) {
			flowerCartButton4 = new JButton();
			flowerCartButton4.setBounds(new Rectangle(10, 360, 106, 25));
			flowerCartButton4.setText("ADD TO CART");
			flowerCartButton4.setFont(new Font("ADD TO CART",Font.BOLD,10));
			flowerCartButton4.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					for (int i=0; i<cart.size(); i++){
						if (flw.get(x3+3).getId() == cart.get(i).getId()){
							int q = cart.get(i).getQuntity();
							cart.get(i).setQuntity(q+1);
						}
					}
				}
			});
		}
		return flowerCartButton4;
	}

	/**
	 * This method initializes treeInfoButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getFlowerInfoButton4() {
		if (flowerInfoButton4 == null) {
			flowerInfoButton4 = new JButton();
			flowerInfoButton4.setBounds(new Rectangle(110, 325, 106, 25));
			flowerInfoButton4.setText("MORE INFO");
			flowerInfoButton4.setFont(new Font("2",Font.BOLD,10));
			flowerInfoButton4.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(flw.get(x3+3));
				}
			});
		}
		return flowerInfoButton4;
	}
		
	/**
	 * This method initializes bridalInfoButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getBridalInfoButton1() {
		if (bridalInfoButton1 == null) {
			bridalInfoButton1 = new JButton();
			bridalInfoButton1.setBounds(new Rectangle(125, 350, 90, 25));
			bridalInfoButton1.setText("MORE INFO");
			bridalInfoButton1.setFont(new Font("2",Font.BOLD,8));
			bridalInfoButton1.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(br.get(x6));
				}
			});
		}
		return bridalInfoButton1;
	}
		
	/**
	 * This method initializes bridalInfoButton	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getBridalInfoButton2() {
		if (bridalInfoButton2 == null) {
			bridalInfoButton2 = new JButton();
			bridalInfoButton2.setBounds(new Rectangle(125, 350, 90, 25));
			bridalInfoButton2.setText("MORE INFO");
			bridalInfoButton2.setFont(new Font("2",Font.BOLD,8));
			bridalInfoButton2.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					infoDisplay(br.get(x6+1));
				}
			});
		}
		return bridalInfoButton2;
	}
		
	/**
	* This method initializes bridalInfoButton	
	* 	
	* @return javax.swing.JButton	
	*/
	private JButton getBridalInfoButton3() {
			if (bridalInfoButton3 == null) {
				bridalInfoButton3 = new JButton();
				bridalInfoButton3.setBounds(new Rectangle(125, 350, 90, 25));
				bridalInfoButton3.setText("MORE INFO");
				bridalInfoButton3.setFont(new Font("2",Font.BOLD,8));
				bridalInfoButton3.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						infoDisplay(br.get(x6+2));
					}
				});
			}
			return bridalInfoButton3;
		}
		
		/**
		 * This method initializes bridalInfoButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getBridalInfoButton4() {
			if (bridalInfoButton4 == null) {
				bridalInfoButton4 = new JButton();
				bridalInfoButton4.setBounds(new Rectangle(125, 350, 90, 25));
				bridalInfoButton4.setText("MORE INFO");
				bridalInfoButton4.setFont(new Font("2",Font.BOLD,8));
				bridalInfoButton4.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						infoDisplay(br.get(x6+3));
					}
				});
			}
			return bridalInfoButton4;
		}
		
		/**
		 * This method initializes bridalCartButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getBridalCartButton1() {
			if (bridalCartButton1 == null) {
				bridalCartButton1 = new JButton();
				bridalCartButton1.setBounds(new Rectangle(10, 360, 106, 25));
				bridalCartButton1.setText("ADD TO CART");
				bridalCartButton1.setFont(new Font("ADD TO CART",Font.BOLD,10));
				bridalCartButton1.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						for (int i=0; i<cart.size(); i++){
							if (br.get(x6).getId() == cart.get(i).getId()){
								int q = cart.get(i).getQuntity();
								cart.get(i).setQuntity(q+1);
							}
						}
					}
				});
			}
			return bridalCartButton1;
		}
		
		/**
		 * This method initializes bridalCartButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getBridalCartButton2() {
			if (bridalCartButton2 == null) {
				bridalCartButton2 = new JButton();
				bridalCartButton2.setBounds(new Rectangle(10, 360, 106, 25));
				bridalCartButton2.setText("ADD TO CART");
				bridalCartButton2.setFont(new Font("ADD TO CART",Font.BOLD,10));
				bridalCartButton2.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						for (int i=0; i<cart.size(); i++){
							if (br.get(x6+1).getId() == cart.get(i).getId()){
								int q = cart.get(i).getQuntity();
								cart.get(i).setQuntity(q+1);
							}
						}
					}
				});			
			}
			return bridalCartButton2;
		}
		
		/**
		 * This method initializes bridalCartButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getBridalCartButton3() {
			if (bridalCartButton3 == null) {
				bridalCartButton3 = new JButton();
				bridalCartButton3.setBounds(new Rectangle(10, 360, 106, 25));
				bridalCartButton3.setText("ADD TO CART");
				bridalCartButton3.setFont(new Font("ADD TO CART",Font.BOLD,10));
				bridalCartButton3.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						for (int i=0; i<cart.size(); i++){
							if (br.get(x6+2).getId() == cart.get(i).getId()){
								int q = cart.get(i).getQuntity();
								cart.get(i).setQuntity(q+1);
							}
						}
					}
				});
			}
			return bridalCartButton3;
		}
		
		/**
		 * This method initializes bridalCartButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getBridalCartButton4() {
			if (bridalCartButton4 == null) {
				bridalCartButton4 = new JButton();
				bridalCartButton4.setBounds(new Rectangle(10, 360, 106, 25));
				bridalCartButton4.setText("ADD TO CART");
				bridalCartButton4.setFont(new Font("ADD TO CART",Font.BOLD,10));
				bridalCartButton4.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						for (int i=0; i<cart.size(); i++){
							if (br.get(x6+3).getId() == cart.get(i).getId()){
								int q = cart.get(i).getQuntity();
								cart.get(i).setQuntity(q+1);
							}
						}
					}
				});
			}
			return bridalCartButton4;
		}
		
		/**
		 * This method initializes NextButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getPlantNextButton() {
			if (plantNextButton == null) {
				plantNextButton = new JButton();
				plantNextButton.setBounds(new Rectangle(880, 430, 70, 25));
				plantNextButton.setIcon(next);
				plantNextButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						plantFlag = true;
						x1+=4;
						if (x1>=plt.size())
							x1 = plt.size();
						displayPlant();
					}
				});
			}
			return plantNextButton;
		}	
		
		/**
		 * This method initializes plantPrevButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getPlantPrevButton() {
			if (plantPrevButton == null) {
				plantPrevButton = new JButton();
				plantPrevButton.setBounds(new Rectangle(800, 430, 70, 25));
				plantPrevButton.setIcon(back);
				plantPrevButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						plantFlag = true;
						x1-=4;
						if (x1<0)x1 = 0;
						displayPlant();
					}
				});
			}
			return plantPrevButton;
		}
		
		/**
		 * This method initializes vaseNextButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getVaseNextButton() {
			if (vaseNextButton == null) {
				vaseNextButton = new JButton();
				vaseNextButton.setBounds(new Rectangle(880, 430, 70, 25));
				vaseNextButton.setIcon(next);
				vaseNextButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						vaseFlag = true;
						x5+=4;
						if (x5>=va.size())
							x5 = va.size();
						displayVase();
					}
				});
			}
			return vaseNextButton;
		}

		/**
		 * This method initializes vasePrevButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getVasePrevButton() {
			if (vasePrevButton == null) {
				vasePrevButton = new JButton();
				vasePrevButton.setBounds(new Rectangle(800, 430, 70, 25));
				vasePrevButton.setIcon(back);
				vasePrevButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						vaseFlag = true;
						x5-=4;
						if (x5<0) x5=0;
						displayVase();
					}
				});
			}
			return vasePrevButton;
		}

		/**
		 * This method initializes treeNextButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getTreeNextButton() {
			if (treeNextButton == null) {
				treeNextButton = new JButton();
				treeNextButton.setBounds(new Rectangle(880, 430, 70, 25));
				treeNextButton.setIcon(next);
				treeNextButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						treeFlag = true;
						x2+=4;
						if (x2 >= tr.size())
							x2 = tr.size();
						displayTree();
					}
				});
			}
			return treeNextButton;
		}

		/**
		 * This method initializes treePrevButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getTreePrevButton() {
			if (treePrevButton == null) {
				treePrevButton = new JButton();
				treePrevButton.setBounds(new Rectangle(800, 430, 70, 25));
				treePrevButton.setIcon(back);
				treePrevButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						treeFlag = true;
						x2-=4;
						if (x2<0) x2 = 0;
						displayTree();
					}
				});
			}
			return treePrevButton;
		}

		/**
		 * This method initializes flowerNextButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getFlowerNextButton() {
			if (flowerNextButton == null) {
				flowerNextButton = new JButton();
				flowerNextButton.setBounds(new Rectangle(880, 430, 70, 25));
				flowerNextButton.setIcon(next);
				flowerNextButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						flowerFlag = true;
						x3+=4;
						if (x3>=flw.size()) x3 = flw.size();
						displayFlower();
					}
				});
			}
			return flowerNextButton;
		}
		
		/**
		 * This method initializes flowerPrevButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getFlowerPrevButton() {
			if (flowerPrevButton == null) {
				flowerPrevButton = new JButton();
				flowerPrevButton.setBounds(new Rectangle(800, 430, 70, 25));
				flowerPrevButton.setIcon(back);
				flowerPrevButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						flowerFlag = true;
						x3-=4;
						if (x3<0) x3 = 0;
						displayFlower();
					}
				});
			}
			return flowerPrevButton;
		}
		/**
		 * This method initializes bridalNextButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getBridalNextButton() {
			if (bridalNextButton == null) {
				bridalNextButton = new JButton();
				bridalNextButton.setBounds(new Rectangle(880, 430, 70, 25));
				bridalNextButton.setIcon(next);
				bridalNextButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						bridalFlag = true;
						x6+=4;
						if (x6>=br.size()) x6 = br.size();
						displayBridal();
					}
				});
			}
			return bridalNextButton;
		}

		/**
		 * This method initializes bridalPrevButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getBridalPrevButton() {
			if (bridalPrevButton == null) {
				bridalPrevButton = new JButton();
				bridalPrevButton.setBounds(new Rectangle(800, 430, 70, 25));
				bridalPrevButton.setIcon(back);
				bridalPrevButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						bridalFlag = true;
						x6-=4;
						if (x6<0) x6 = 0;
						displayBridal();
					}
				});
			}
			return bridalPrevButton;
		}
		
		/**
		 * This method initializes saleNextButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getSaleNextButton() {
			if (saleNextButton == null) {
				saleNextButton = new JButton();
				saleNextButton.setBounds(new Rectangle(880, 430, 70, 25));
				saleNextButton.setIcon(next);
				saleNextButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						saleFlag = true;
						x4+=4;
						if (x4>=sl.size()) x4 = sl.size();
						displaySale();
					}
				});
			}
			return saleNextButton;
		}

		/**
		 * This method initializes salePrevButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getSalePrevButton() {
			if (salePrevButton == null) {
				salePrevButton = new JButton();
				salePrevButton.setBounds(new Rectangle(800, 430, 70, 25));
				salePrevButton.setIcon(back);
				salePrevButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						saleFlag = true;
						x4-=4;
						if (x4<0) x4 = 0;
						displaySale();
					}
				});
			}
			return salePrevButton;
		}

		/**
		 * This method initializes jPanel	
		 * 	
		 * @return javax.swing.JPanel	
		 */
		private JPanel getJPanel() {
			if (jPanel == null) {
				Details = new JLabel();
				Details.setBounds(new Rectangle(84, 398, 113, 25));
				Details.setText("DETAILS:");
				backGround = new JLabel();
				pictureInfo = new JLabel();
				backGround.setBounds(new Rectangle(0, 0, 532, 609));
				pictureInfo.setBounds(new Rectangle(84, 54, 229, 199));
				jPanel = new JPanel();
				jPanel.setLayout(null);
				jPanel.setBounds(new Rectangle(211, 20, 532, 609));
				ImageIcon img = null;
				try {
					img = new ImageIcon(ImageIO.read(new File("flowerView.jpg"))
													.getScaledInstance(532, 609, Image.SCALE_DEFAULT));
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				backGround.setIcon(img);
				jPanel.add(getInfoButton(), null);
				jPanel.add(pictureInfo, null);
				jPanel.add(getJScrollPane(), null);
				jPanel.add(Details, null);
				jPanel.add(getJTextArea(), null);
				jPanel.add(backGround,null);
				jPanel.setVisible(false);
			}
			return jPanel;
		}
		private void infoDisplay (Item it){
			pictureInfo.setIcon(it.getIcon());
			st.add(Integer.toString(it.getId()));
			st.add(it.getName());
			st.add(it.getDescription());
			st.add(Integer.toString(it.getQuntity()));
			st.add(Integer.toString(it.getPrice()));
			model1.setColumnCount(0);
			model1.addColumn("",valuse);
			model1.addColumn("",st);
			jTextArea.setText(it.getDescription());
			jTabbedPane1.setVisible(false);
			jPanel.setVisible(true);
		}

		/**
		 * This method initializes infoButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getInfoButton() {
			if (infoButton == null) {
				infoButton = new JButton();
				infoButton.setBounds(new Rectangle(407, 510, 102, 48));
				infoButton.setText("Back");
				infoButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						model1.setColumnCount(0);
						st.removeAllElements();
						jPanel.setVisible(false);
						jTabbedPane1.setVisible(true);
					}
				});
			}
			return infoButton;
		}

		/**
		 * This method initializes jScrollPane	
		 * 	
		 * @return javax.swing.JScrollPane	
		 */
		private JScrollPane getJScrollPane() {
			if (jScrollPane == null) {
				jScrollPane = new JScrollPane();
				jScrollPane.setBounds(new Rectangle(81, 281, 322, 104));
				jScrollPane.setViewportView(getJTable());
			}
			return jScrollPane;
		}

		/**
		 * This method initializes jTable	
		 * 	
		 * @return javax.swing.JTable	
		 */
		private JTable getJTable() {
			if (jTable == null) {
				jTable = new JTable(model1);
			}
			return jTable;
		}

		/**
		 * This method initializes jTextArea	
		 * 	
		 * @return javax.swing.JTextArea	
		 */
		private JTextArea getJTextArea() {
			if (jTextArea == null) {
				jTextArea = new JTextArea();
				jTextArea.setBounds(new Rectangle(76, 439, 244, 86));
				jTextArea.setBackground(Color.DARK_GRAY);
				jTextArea.setForeground(Color.WHITE);
				jTextArea.setBorder(borderColor);
			}
			return jTextArea;
		}

		/**
		 * This method initializes cartPanel	
		 * 	
		 * @return javax.swing.JPanel	
		 */
		private JPanel getCartPanel() {
			if (cartPanel == null) {
				jLabel = new JLabel();
				jLabel.setBounds(new Rectangle(65, 235, 161, 33));
				jLabel.setText("Total ORDER COST:");
				jLabel.setFont(new Font("2",Font.BOLD,10));
				cartPanel = new JPanel();
				cartPanel.setLayout(null);
				cartPanel.setBounds(new Rectangle(20, 3, 530, 465));
				cartPanel.add(getGetOrderButton(), null);
				cartPanel.add(getBackCatalogButton(), null);
				cartPanel.add(getDeleteButton(), null);
				cartPanel.setVisible(false);
				cartPanel.add(getDicreaseButton(), null);
				cartPanel.add(getIncreaseButton(), null);
				cartPanel.add(jLabel, null);
				cartPanel.add(getSumTextArea(), null);
				cartPanel.add(getOrderScrollPane(), null);
			}
			return cartPanel;
		}

		private void cartDisplay (){
			model2.addColumn("PRODACT ID");
			model2.addColumn("PRODACT NAME");
			model2.addColumn("PRICE");
			model2.addColumn("QUNTITY");
			model2.addColumn("TOTAL");
			sum1 = 0;
			int q=0;
			for (int i=0;i<cart.size();i++){
				Vector <String> row =new Vector <String>();
				if (cart.get(i).getQuntity()>0){
					q = cart.get(i).getQuntity()*cart.get(i).getPrice();
					sum1 = sum1 + q;
					sumTextArea.setText(Integer.toString(sum1));
					row.add(Integer.toString(cart.get(i).getId()));
					row.add(cart.get(i).getName());
					row.add(Integer.toString(cart.get(i).getPrice()));
					row.add(Integer.toString(cart.get(i).getQuntity()));
					row.add(Integer.toString(cart.get(i).getQuntity()*cart.get(i).getPrice()));
					model2.insertRow(model2.getRowCount(),row);
				}
			}
		}
		
		

		/**
		 * This method initializes cartButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getCartButton() {
			if (cartButton == null) {
				cartButton = new JButton();
				cartButton.setText("GO TO CART");
				cartButton.setBounds(new Rectangle(331, 652, 117, 34));
				if (MainPanel.Userinfo[2].equals("1"))
					cartButton.setVisible(true);
				else
					cartButton.setVisible(false);
				cartButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						model2.setColumnCount(0);
						model2.setRowCount(0);
						cartDisplay ();
						jTabbedPane1.setVisible(false);
						cartPanel.setVisible(true);	
					}
				});
			}
			return cartButton;
		}

		/**
		 * This method initializes backMainButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		JButton getBackMainButton() {
			if (backMainButton == null) {
				backMainButton = new JButton();
				backMainButton.setText("BACK TO MAIN");
				backMainButton.setBounds(new Rectangle(664, 652, 135, 34));
				if (MainPanel.Userinfo[2].equals("1"))
					backMainButton.setVisible(true);
				else
					backMainButton.setVisible(false);
				backMainButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						model2.setColumnCount(0);
						model2.setRowCount(0);
					}
				});
			}
		return backMainButton;
		}

		/**
		 * This method initializes getOrderButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		JButton getGetOrderButton() {
			if (getOrderButton == null) {
				getOrderButton = new JButton();
				getOrderButton.setText("MAKE THE ORDER");
				getOrderButton.setFont(new Font("2",Font.BOLD,10));
				getOrderButton.setBounds(new Rectangle(263, 380, 140, 45));
				getGetOrderButton().addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
							int sum;
							Order1 Order1Frame = new Order1(2);
					//		MainCustomer mc;
							for(int i=0;i<cart.size();i++){
								if (cart.get(i).getQuntity()>0)
								{
									sum=cart.get(i).getPrice()*cart.get(i).getQuntity();
									cart.get(i).setPrice(sum);
									order.add(cart.get(i));
								}
							}
							for (int i=0;i<order.size();i++)
							{
								ItemsToPurchase.add(order.get(i).getId());
								ItemsToPurchase.add(order.get(i).getQuntity());
							}
							Order1Frame.OrderDeatails.add(ItemsToPurchase);							
							Order1Frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
							Order1Frame.setSize( 600,800 ); // set frame size
							Order1Frame.setResizable(false);
							Order1Frame.setVisible( true ); // display frame
							Order1Frame.setContentPane(Order1Frame.order2);
												
						}
					});
			}
			return getOrderButton;
		}

		/**
		 * This method initializes backCatalogButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getBackCatalogButton() {
			if (backCatalogButton == null) {
				backCatalogButton = new JButton();
				backCatalogButton.setBounds(new Rectangle(20, 380, 140, 45));
				backCatalogButton.setText("BACK TO CATALOG");
				backCatalogButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						jTabbedPane1.setVisible(true);
						cartPanel.setVisible(false);
						model2.setColumnCount(0);
						model2.setRowCount(0);
						updateUI();
					}
				});
			}
			return backCatalogButton;
		}

		/**
		 * This method initializes deleteButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getDeleteButton() {
			if (deleteButton == null) {
				deleteButton = new JButton();
				deleteButton.setBounds(new Rectangle(189, 298, 79, 69));
				ImageIcon deleteIcon = null;
				try {
					deleteIcon = new ImageIcon(ImageIO.read(new File("recycle_bin.jpg")).getScaledInstance(79, 69, Image.SCALE_DEFAULT));
					updateUI();
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				deleteButton.setIcon(deleteIcon);
				deleteButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						int row = orderTable.getSelectedRow();							
						int id =Integer.parseInt((String) model2.getValueAt(row, 0));
						for (int i=0;i<cart.size();i++){
							if (id == cart.get(i).getId()) 
								cart.get(i).setQuntity(0);
						}
						model2.removeRow(row);
					}
				});
			}
			return deleteButton;
		}

		/**
		 * This method initializes dicreaseButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getDicreaseButton() {
			if (dicreaseButton == null) {
				dicreaseButton = new JButton();
				dicreaseButton.setBounds(new Rectangle(430, 270, 50, 45));
				ImageIcon minus = null;
				try {
					minus = new ImageIcon(ImageIO.read(new File("Minus.jpg")).getScaledInstance(50,45,Image.SCALE_DEFAULT));
				} catch (IOException e1) {
					e1.printStackTrace();
				}
				dicreaseButton.setIcon(minus);
				dicreaseButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						int row = orderTable.getSelectedRow();							
						int id =Integer.parseInt((String) model2.getValueAt(row, 0));
						int Quntity = 0;
						for (int i=0;i<cart.size();i++){
							if (id == cart.get(i).getId()) {
								Quntity = cart.get(i).getQuntity();
								if (Quntity>1){
									cart.get(i).setQuntity(Quntity-1);
									model2.setValueAt(Integer.toString(Quntity-1), row, 3);
									int p = (Quntity-1)*cart.get(i).getPrice();
									model2.setValueAt(Integer.toString(p), row, 4);
								}
								else if (Quntity==1){
									cart.get(i).setQuntity(0);
									model2.removeRow(row);
								}
								sum1 -= cart.get(i).getPrice();
							}
						}
						sumTextArea.setText(Integer.toString(sum1));
						updateUI();
					}
				});
				
			}
			return dicreaseButton;
		}

		/**
		 * This method initializes increaseButton	
		 * 	
		 * @return javax.swing.JButton	
		 */
		private JButton getIncreaseButton() {
			if (increaseButton == null) {
				increaseButton = new JButton();
				increaseButton.setBounds(new Rectangle(385, 270, 50, 45));
				ImageIcon plus = null;
				try {
					plus = new ImageIcon(ImageIO.read(new File("plus.jpg")).getScaledInstance(50,45,Image.SCALE_DEFAULT));
				} catch (IOException e1) {
					e1.printStackTrace();
				}
				increaseButton.setIcon(plus);
				increaseButton.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent e) {
						int row = orderTable.getSelectedRow();							
						int id =Integer.parseInt((String) model2.getValueAt(row, 0));
						int Quntity = 0;
						int p = 0;
						for (int i=0;i<cart.size();i++){
							if (id == cart.get(i).getId()) {
								Quntity = cart.get(i).getQuntity()+1;
								sum1 += cart.get(i).getPrice();
								sumTextArea.setText(Integer.toString(sum1));
								cart.get(i).setQuntity(Quntity);
								p = (Quntity)*cart.get(i).getPrice();
							}
						}
						sumTextArea.setText(Integer.toString(sum1));
						model2.setValueAt(Integer.toString(Quntity), row, 3);
						model2.setValueAt(Integer.toString(p), row, 4);
						updateUI();
					}
				});
			}
			return increaseButton;
		}

		/**
		 * This method initializes sumTextArea	
		 * 	
		 * @return javax.swing.JTextArea	
		 */
		private JTextArea getSumTextArea() {
			if (sumTextArea == null) {
				sumTextArea = new JTextArea();
				sumTextArea.setBounds(new Rectangle(58, 275, 68, 16));
			}
			return sumTextArea;
		}

		/**
		 * This method initializes orderScrollPane	
		 * 	
		 * @return javax.swing.JScrollPane	
		 */
		private JScrollPane getOrderScrollPane() {
			if (orderScrollPane == null) {
				orderScrollPane = new JScrollPane();
				orderScrollPane.setBounds(new Rectangle(54, 44, 338, 108));
				orderScrollPane.setViewportView(getOrderTable());
			}
			return orderScrollPane;
		}

		/**
		 * This method initializes orderTable	
		 * 	
		 * @return javax.swing.JTable	
		 */
		private JTable getOrderTable() {
			if (orderTable == null) {
				orderTable = new JTable(model2);
			}
			return orderTable;
		}

}  //  @jve:decl-index=0:visual-constraint="10,10"